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