Files
xLog/src/lib/query-client.ts
T
2023-05-06 18:21:21 +01:00

7 lines
168 B
TypeScript

import { cache } from "react"
import { QueryClient } from "@tanstack/react-query"
const getQueryClient = cache(() => new QueryClient())
export default getQueryClient