2018-01-09 02:06:31 +01:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
import { createStore } from 'redux';
|
|
|
|
import Reducers from './reducers/index.js';
|
2018-01-11 20:41:12 +01:00
|
|
|
import PublishTool from './containers/PublishTool.jsx';
|
2018-01-09 02:06:31 +01:00
|
|
|
|
2018-01-10 22:10:08 +01:00
|
|
|
let store = createStore(
|
|
|
|
Reducers,
|
|
|
|
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
|
|
|
|
);
|
2018-01-09 02:06:31 +01:00
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<Provider store={store}>
|
|
|
|
<PublishTool />
|
|
|
|
</Provider>,
|
|
|
|
document.getElementById('react-publish-tool')
|
|
|
|
)
|