YesPlayMusic/packages/web/utils/reactQueryClient.ts

12 lines
214 B
TypeScript
Raw Normal View History

2022-08-03 23:48:39 +08:00
import { QueryClient } from '@tanstack/react-query'
2022-03-13 14:40:38 +08:00
const reactQueryClient = new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
},
},
})
export default reactQueryClient