Skip to content

Commit

Permalink
feat: add user provider
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarhenrq committed Oct 9, 2023
1 parent f669111 commit e30cd25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/helpers/Sut.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import GlobalStyle from '@styles/global';
import { BrowserRouter } from 'react-router-dom';

import FiltersProvider from '@contexts/filters';
import UserProvider from '@contexts/user';

type Props = {
children: React.ReactNode;
Expand All @@ -12,7 +13,9 @@ const Sut = ({ children }: Props) => (
<>
<GlobalStyle />
<FiltersProvider>
<BrowserRouter>{children}</BrowserRouter>
<UserProvider>
<BrowserRouter>{children}</BrowserRouter>
</UserProvider>
</FiltersProvider>
</>
);
Expand Down

0 comments on commit e30cd25

Please sign in to comment.