mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-31 07:00:22 +00:00
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
15 lines
311 B
TypeScript
15 lines
311 B
TypeScript
"use client";
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
export default function QueryProvider({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
|
|
);
|
|
}
|