fix bugs.

This commit is contained in:
Ahmed Bouhuolia
2020-04-29 05:11:02 +02:00
parent f4520e4e5c
commit f6c5cae82e
42 changed files with 575 additions and 401 deletions

View File

@@ -5,6 +5,7 @@ import { BrowserRouter } from 'react-router-dom';
import App from 'components/App';
import * as serviceWorker from 'serviceWorker';
import createStore from 'store/createStore';
import AppProgress from 'components/NProgress/AppProgress';
ReactDOM.render(
<Provider store={createStore}>
@@ -15,6 +16,13 @@ ReactDOM.render(
document.getElementById('root')
);
ReactDOM.render(
<Provider store={createStore}>
<AppProgress />
</Provider>,
document.getElementById('nprogress')
);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA