YesPlayMusic/packages/web/utils/reactQueryClient.ts
2022-08-03 23:48:39 +08:00

12 lines
214 B
TypeScript

import { QueryClient } from '@tanstack/react-query'
const reactQueryClient = new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
},
},
})
export default reactQueryClient