mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
test: defer hangarLoaded to nuxtReady hook
This commit is contained in:
parent
e45e077533
commit
8edd10a024
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user