mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-06 03:12:50 +00:00
10 lines
328 B
TypeScript
10 lines
328 B
TypeScript
|
|
"use client";
|
||
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||
|
|
import React from "react";
|
||
|
|
|
||
|
|
const queryClient = new QueryClient();
|
||
|
|
|
||
|
|
export default function QueryProvider({ children }: { children: React.ReactNode }) {
|
||
|
|
return <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>;
|
||
|
|
}
|