Skip to content

Commit

Permalink
fix react query options
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidOpDeBeeck committed Apr 28, 2024
1 parent 38725d7 commit 571f4a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcaas-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ const queryClient = new QueryClient({
refetchOnWindowFocus: false,
refetchOnReconnect: false,
retry: false,
keepPreviousData: true
placeholderData: (prev: unknown) => prev
},
},
})

const HydrateAtoms = ({children}: { children: ReactElement }) => {
const HydrateAtoms = ({children}: {children: ReactElement}) => {
useHydrateAtoms([[queryClientAtom, queryClient]])
return children
}
Expand Down

0 comments on commit 571f4a9

Please sign in to comment.