turkmentv_front/utils/getQueryClient.ts

6 lines
170 B
TypeScript
Raw Normal View History

2024-08-19 12:44:56 +00:00
import { QueryClient } from "@tanstack/query-core";
import { cache } from "react";
const getQueryClient = cache(() => new QueryClient());
export default getQueryClient;