blob: 3995436fd11fd23d16842f193203ca077b377e8a (
plain) (
blame)
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
|
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux'
import thunk from 'redux-thunk';
import rootReducer from './reducers';
import UI from './containers/UI';
import { startup } from './actions';
const store = createStore(
rootReducer,
applyMiddleware(thunk),
//+ window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);
store.dispatch(startup());
render(
<Provider store={store}>
{/* <img className={style.logo} src={logo} /> */}
<UI />
</Provider>,
document.body,
);
|