-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
18 lines (17 loc) · 678 Bytes
/
Copy pathindex.js
File metadata and controls
18 lines (17 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import * as React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import Root from './components/Root';
import '../node_modules/jquery';
import '../node_modules/bootstrap/dist/js/bootstrap.js';
import '../node_modules/bootstrap/dist/css/bootstrap.css';
import registerServiceWorker from './registerServiceWorker';
import store from "./store";
import {Provider} from "react-redux";
import {getAllUsers} from './API/UserAPI'
store.dispatch(getAllUsers());
ReactDOM.render(<Provider store={store}>
<Root />
</Provider>
, document.getElementById('root'));
registerServiceWorker();