Add src/lib/query-client.js

This commit is contained in:
Eric Lay 2026-03-11 08:49:35 -05:00
parent 62f526521d
commit 1bb06c4f1b
1 changed files with 11 additions and 0 deletions

11
src/lib/query-client.js Normal file
View File

@ -0,0 +1,11 @@
import { QueryClient } from '@tanstack/react-query';
export const queryClientInstance = new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
retry: 1,
},
},
});