forked from SrividyaKK/SyndriveWeb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
37 lines (30 loc) · 1.01 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import { Provider } from 'react-redux';
import App from './App';
import 'tachyons';
// import { startSetVictims } from './actions/users';
import registerServiceWorker from './registerServiceWorker';
// import { createMuiTheme, MuiThemeProvider } from '@material-ui/core/styles';
// import { green } from '@material-ui/core/colors';
import configureStore from './store/configureStore';
const store = configureStore();
// const theme = createMuiTheme({
// palette: {
// primary: green,
// },
// });
const jsx = (
// <MuiThemeProvider theme={theme}>
<Provider store={store}>
<App />
</Provider>
// </MuiThemeProvider>
);
// ReactDOM.render(<p>Loading...</p>, document.getElementById('root'));
// store.dispatch(startSetVictims()).then(() => {
// ReactDOM.render(jsx, document.getElementById('root'));
// });
ReactDOM.render(jsx, document.getElementById('root'));
registerServiceWorker();