mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-01-12 23:58:15 -05:00
19 lines
424 B
TypeScript
19 lines
424 B
TypeScript
"use client"
|
|
|
|
import { GlobalProvider } from "@/app/providers/GlobalProvider"
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query"
|
|
|
|
const queryClient = new QueryClient()
|
|
|
|
export const GlobalProviderLayout = ({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) => {
|
|
return (
|
|
<QueryClientProvider client={queryClient}>
|
|
<GlobalProvider>{children}</GlobalProvider>
|
|
</QueryClientProvider>
|
|
)
|
|
}
|