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