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