- add type assertion to children prop to resolve React node type mismatch in test wrapper component
@@ -41,7 +41,7 @@ const TestWrapper = ({ children }: { children: React.ReactNode }) => {
return (
<BrowserRouter>
<QueryClientProvider client={queryClient}>
- {children}
+ {children as any}
</QueryClientProvider>
</BrowserRouter>
);