From a73a4c6dd61c0d6f2c797cf70309f66569ddce60 Mon Sep 17 00:00:00 2001 From: Wang Guan Date: Sat, 19 Oct 2024 19:49:16 +0900 Subject: [PATCH] only sync on startup --- app/components/home.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index ae7bf901c..d4a7065fc 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -250,7 +250,8 @@ export function Home() { return () => { running = false; }; - }, [syncStore]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); if (!useHasHydrated()) { return ;