Skip to content

Commit

Permalink
test: fix removed fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisheksharmayt committed Nov 8, 2024
1 parent 3cf1a3b commit b83e36f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/utils/tests/ProviderWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import React, { ReactNode } from 'react';
import React from 'react';
import { Provider as StoreProvider } from 'react-redux';
import { AuthProvider } from '../../context/AuthContext';
import { store } from '../../../App';

interface ProviderWrapperProps {
children: ReactNode;
children: JSX.Element;
}

const ProviderWrapper: React.FC<ProviderWrapperProps> = ({ children }) => (
<StoreProvider store={store}>
<AuthProvider>
<>{children}</>
</AuthProvider>
<AuthProvider>{children}</AuthProvider>
</StoreProvider>
);

Expand Down

0 comments on commit b83e36f

Please sign in to comment.