adding user hooks to replace api

This commit is contained in:
Elijah Lucian
2021-07-12 21:43:21 -06:00
parent 5e5c539ee7
commit 1af8209b99
11 changed files with 97 additions and 34 deletions
+1 -3
View File
@@ -7,11 +7,9 @@ import { Api } from './api'
import './scss/app.scss'
const App = () => {
const api = new Api({ baseURL: '/api' })
return (
<BrowserRouter>
<AppContextProvider api={api}>
<AppContextProvider>
<UserContextProvider>
<CoreLayout />
</UserContextProvider>