From b0678be9cca1b7d39760944edc45cbf4b51c89d8 Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 13 Oct 2025 12:14:42 -0400 Subject: [PATCH] updated req's --- src/components/providers.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/providers.tsx b/src/components/providers.tsx index 044f443..95dcf8a 100644 --- a/src/components/providers.tsx +++ b/src/components/providers.tsx @@ -17,7 +17,17 @@ const config = getDefaultConfig({ ssr: false, }); -const queryClient = new QueryClient(); +const queryClient = new QueryClient({ + defaultOptions: { + queries: { + refetchOnWindowFocus: false, + refetchOnMount: false, + refetchOnReconnect: false, + retry: false, + staleTime: 5 * 60 * 1000, // 5 minutes + }, + }, +}); function Web3Provider({ children }: { children: React.ReactNode }) { const { theme } = useTheme();