Skip to content

Commit

Permalink
fix(wrapper): correct webpack module for `Spicetify.ReactComponent.Me…
Browse files Browse the repository at this point in the history
…nu` (#2575)
  • Loading branch information
SunsetTechuila authored Sep 28, 2023
1 parent 48e8403 commit 3eeb8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsHelper/spicetifyWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ window.Spicetify = {
...Spicetify.ReactComponent,
TextComponent: modules.find(m => m?.h1 && m?.render),
ConfirmDialog: functionModules.find(m => m.toString().includes("isOpen") && m.toString().includes("shouldCloseOnEsc")),
Menu: functionModules.find(m => m.toString().includes("getInitialFocusElement")),
Menu: functionModules.find(m => m.toString().includes("getInitialFocusElement") && m.toString().includes("children")),
MenuItem: functionModules.find(m => m.toString().includes("handleMouseEnter") && m.toString().includes("onClick")),
Slider: wrapProvider(functionModules.find(m => m.toString().includes("onStepBackward"))),
RemoteConfigProvider: functionModules.find(m => m.toString().includes("resolveSuspense") && m.toString().includes("configuration")),
Expand Down

0 comments on commit 3eeb8cf

Please sign in to comment.