Skip to content

Commit

Permalink
refactor: staleTime제거
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonBeen committed Sep 1, 2024
1 parent 1e85d04 commit 2049dae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 2049dae

Please sign in to comment.