mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 07:36:39 +08:00
only sync on startup
This commit is contained in:
parent
df7edbd7d0
commit
a73a4c6dd6
@ -250,7 +250,8 @@ export function Home() {
|
||||
return () => {
|
||||
running = false;
|
||||
};
|
||||
}, [syncStore]);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
if (!useHasHydrated()) {
|
||||
return <Loading />;
|
||||
|
Loading…
Reference in New Issue
Block a user