Skip to content

Commit

Permalink
fix(wrapper/webpack): do not return while webpack is loading
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri committed Aug 25, 2024
1 parent 3e382d9 commit 5cee0d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jsHelper/spicetifyWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,8 @@ window.Spicetify = {
})();

(async function hotloadWebpackModules() {
if (!window?.webpackChunkclient_web) {
while (!window?.webpackChunkclient_web) {
await new Promise((r) => setTimeout(r, 50));
return;
}

// Force all webpack modules to load
Expand Down

0 comments on commit 5cee0d4

Please sign in to comment.