7 lines
168 B
TypeScript
7 lines
168 B
TypeScript
import { cache } from "react"
|
|
|
|
import { QueryClient } from "@tanstack/react-query"
|
|
|
|
const getQueryClient = cache(() => new QueryClient())
|
|
export default getQueryClient
|