Spaces:
Sleeping
Sleeping
Download frontend/src/components/providers/QueryProvider.tsx from baveshraam/open-notebook: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/baveshraam/open-notebook/resolve/main/frontend/src/components/providers/QueryProvider.tsx
- Command line
-
hf download hf://spaces/baveshraam/open-notebook/frontend/src/components/providers/QueryProvider.tsx
-
curl -L -o QueryProvider.tsx https://huggingface.co/spaces/baveshraam/open-notebook/resolve/main/frontend/src/components/providers/QueryProvider.tsx
363 Bytes
| 'use client' | |
| import { QueryClientProvider } from '@tanstack/react-query' | |
| import { queryClient } from '@/lib/api/query-client' | |
| interface QueryProviderProps { | |
| children: React.ReactNode | |
| } | |
| export function QueryProvider({ children }: QueryProviderProps) { | |
| return ( | |
| <QueryClientProvider client={queryClient}> | |
| {children} | |
| </QueryClientProvider> | |
| ) | |
| } |