Skip to content

Commit

Permalink
refactor: staleTime제거 (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonBeen authored Sep 24, 2024
1 parent b3d9174 commit bd336a9
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 bd336a9

Please sign in to comment.