Skip to content

Commit

Permalink
feat: add import provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Mar 30, 2022
1 parent 1f46fcd commit 99b7c78
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { BrowserRouter } from 'react-router-dom';

import { AuthProvider } from 'contexts/Auth';
import { BarbeiroProvider } from 'contexts/Barbeiro';
import { ThemeProvider } from 'contexts/Theme';
import { ToastProvider } from 'contexts/Toast';

Expand All @@ -13,11 +14,13 @@ export function App() {
return (
<BrowserRouter>
<AuthProvider>
<ToastProvider>
<ThemeProvider>
<MainRoutes />
</ThemeProvider>
</ToastProvider>
<BarbeiroProvider>
<ToastProvider>
<ThemeProvider>
<MainRoutes />
</ThemeProvider>
</ToastProvider>
</BarbeiroProvider>
</AuthProvider>
</BrowserRouter>
);
Expand Down

0 comments on commit 99b7c78

Please sign in to comment.