From 2dca3da976b50f2147dc9c069435a760e558e7fa Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Tue, 22 Oct 2024 11:04:07 +0800 Subject: [PATCH] remove additional react-query option --- src/utils/query/reactQuery.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/query/reactQuery.ts b/src/utils/query/reactQuery.ts index 80ba1fb8c..37fd0b132 100644 --- a/src/utils/query/reactQuery.ts +++ b/src/utils/query/reactQuery.ts @@ -4,7 +4,6 @@ import { hashFn } from 'wagmi/query' export const queryClient = new QueryClient({ defaultOptions: { queries: { - refetchOnWindowFocus: true, refetchOnMount: true, staleTime: 0, gcTime: 1_000 * 60 * 60 * 24,