Skip to content

Commit

Permalink
fix: react query staleTime wrong value
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed May 23, 2022
1 parent c7ec2ef commit 020a06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/QueryProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { QueryClient, QueryClientProvider } from 'react-query';
const queryClient = new QueryClient({
defaultOptions: {
queries: {
staleTime: 3600,
staleTime: 60 * 60 * 3600,
refetchOnWindowFocus: false,
retryOnMount: false,
},
Expand Down

0 comments on commit 020a06a

Please sign in to comment.