Spaces:
Sleeping
Sleeping
| '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> | |
| ) | |
| } |