fix: global data not warming up correctly after hydration

This commit is contained in:
Zoe
2026-03-02 00:11:06 -06:00
parent 5a35976ce0
commit c84f982277
4 changed files with 26 additions and 17 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export const useUserSettings = () => {
const state = nuxtApp._userSettingsState as UserSettingsState;
const init = () => {
const init = (): Promise<void> => {
if (state.initPromise) return state.initPromise;
state.initPromise = (async () => {