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