({
children,
}: {
children: React.ReactNode;
})
| 4 | import { useState } from 'react'; |
| 5 | |
| 6 | export const ReactQueryClientProvider = ({ |
| 7 | children, |
| 8 | }: { |
| 9 | children: React.ReactNode; |
| 10 | }) => { |
| 11 | const [queryClient] = useState(() => new QueryClient({})); |
| 12 | return ( |
| 13 | <QueryClientProvider client={queryClient}>{children}</QueryClientProvider> |
| 14 | ); |
| 15 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected