Skip to content

Commit

Permalink
test: defer hangarLoaded to nuxtReady hook
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Apr 27, 2024
1 parent e45e077 commit 8edd10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (process.client) {
document.documentElement.classList.remove("light", "dark");
document.documentElement.classList.add(settingsStore.darkMode ? "dark" : "light");
nextTick(() => (window.hangarLoaded = true));
onNuxtReady(() => (window.hangarLoaded = true));
}
useHead({
Expand Down

0 comments on commit 8edd10a

Please sign in to comment.