Files
boilerplate-fe/src/provider/react-query-provider.tsx
Fahri Can Seçer fd8dceab1a
All checks were successful
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Successful in 2m39s
main
2026-01-30 03:31:18 +03:00

17 lines
374 B
TypeScript

"use client";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { ReactNode } from "react";
interface Props {
children: ReactNode;
}
export default function ReactQueryProvider({ children }: Props) {
const queryClient = new QueryClient();
return (
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
);
}