Skip to content

Commit

Permalink
TDW-2277 called loaddependenices before loadlazy
Browse files Browse the repository at this point in the history
  • Loading branch information
bosco-ensemble committed Apr 9, 2024
1 parent 65c210f commit 5d8e9b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -707,11 +707,11 @@ async function waitForLCP() {
async function loadPage(doc) {
// eslint-disable-next-line no-use-before-define
await loadEager(doc);
// eslint-disable-next-line no-use-before-define
await loadLazy(doc);
// eslint-disable-next-line import/no-cycle
loadDependencies();
// eslint-disable-next-line no-use-before-define
await loadLazy(doc);
// eslint-disable-next-line no-use-before-define
loadDelayed(doc);
}

Expand Down

0 comments on commit 5d8e9b4

Please sign in to comment.