feat: add staleTime to react query.

This commit is contained in:
a.bouhuolia
2021-02-08 13:17:33 +02:00
parent 304f0c9ae5
commit 9422fb2b86
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ function App({ locale }) {
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
staleTime: 30000,
},
},
};