Skip to content

Commit

Permalink
Update page-loader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBacou authored Sep 22, 2024
1 parent 22538e5 commit d1bd41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/pages/page-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var module = {};

(async () => {
try {
Object.assign(module, await import(`./assets/js/pages/loading.js`)); // adding every fonction of "pages.loading.js" in module with other fonction fetched
Object.assign(module, await import(`${pages.loading.js}`)); // adding every fonction of "pages.loading.js" in module with other fonction fetched
} catch (error) {
console.error("Erreur lors du chargement du module JS", error);
}
Expand Down

0 comments on commit d1bd41f

Please sign in to comment.