8 lines
318 B
TypeScript
8 lines
318 B
TypeScript
|
|
import { QueryClientProvider } from "@tanstack/react-query";
|
||
|
|
import { queryClient } from "../config/queryClient";
|
||
|
|
import type { PropsWithChildren } from "react";
|
||
|
|
|
||
|
|
export const AppProviders = ({ children }: PropsWithChildren) => {
|
||
|
|
return <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>;
|
||
|
|
};
|