18 lines
475 B
JavaScript
18 lines
475 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { Provider } from 'react-redux';
|
|
import { createStore } from 'redux';
|
|
import Reducers from './reducers';
|
|
import PublishTool from './containers/PublishTool';
|
|
|
|
let store = createStore(
|
|
Reducers,
|
|
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
|
|
);
|
|
|
|
ReactDOM.render(
|
|
<Provider store={store}>
|
|
<PublishTool />
|
|
</Provider>,
|
|
document.getElementById('react-publish-tool')
|
|
)
|