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