From 2049daefe4a49d9a799694c1741c8e9bc0f98adf Mon Sep 17 00:00:00 2001 From: ChoiWonBeen Date: Sun, 1 Sep 2024 21:46:11 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20staleTime=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index a05cfda1..b228fc76 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -15,11 +15,8 @@ const root = ReactDOM.createRoot( const queryClient = new QueryClient({ defaultOptions: { queries: { - refetchOnWindowFocus: true, - refetchOnMount: true, refetchOnReconnect: true, retry: 1, - staleTime: 1000 * 60 * 5, throwOnError: (err) => err instanceof ZodError, }, mutations: {