fix: hydrated

This commit is contained in:
Dogtiti
2024-09-03 20:29:01 +08:00
parent 886ffc0af8
commit ed9aae531e
3 changed files with 14 additions and 5 deletions

View File

@@ -179,6 +179,8 @@ export const usePromptStore = createPersistStore(
res.en.length + res.cn.length + res.tw.length;
SearchService.init(allPromptsForSearch, userPrompts);
});
return () => state.setHasHydrated(true);
},
},
);