copied the code from the working repo
This commit is contained in:
14
mtucijobsweb2/fsd/app/provider/QueryClient.tsx
Normal file
14
mtucijobsweb2/fsd/app/provider/QueryClient.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
'use client';
|
||||
|
||||
import { PropsWithChildren } from 'react';
|
||||
import { QueryClient, QueryClientProvider } from 'react-query';
|
||||
export const queryClient = new QueryClient();
|
||||
const ClientProvider = ({ children }: PropsWithChildren) => {
|
||||
|
||||
|
||||
return (
|
||||
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
|
||||
);
|
||||
};
|
||||
|
||||
export default ClientProvider;
|
||||
Reference in New Issue
Block a user