blob: 282e6ae9de25eb9046296c71d077173e21cfbaa5 (
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
26
27
|
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 style from '../scss/main.scss';
import logo from '../fonts/matrix-logo.svg';
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.getElementById("content")
);
|