Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…frontend into ui/new
  • Loading branch information
vinit717 committed Aug 3, 2024
2 parents d0ef26b + cb0bc05 commit f97dccd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ interface MyAppProps {
pageProps: AppProps;
}

export const queryClient = new QueryClient({ defaultOptions: { queries: { retry: 3 } } });
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
retry: 3,
refetchOnWindowFocus: false,
},
},
});

export default function MyApp({ Component, pageProps }: MyAppProps) {
return (
Expand Down

0 comments on commit f97dccd

Please sign in to comment.