2017-05-27 05:30:22 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { Provider } from 'react-redux';
|
2018-11-17 10:12:30 +00:00
|
|
|
import { hot, setConfig } from 'react-hot-loader';
|
2017-06-21 06:40:28 +00:00
|
|
|
import App from 'containers/App';
|
2017-05-27 05:30:22 +00:00
|
|
|
|
2018-11-17 10:12:30 +00:00
|
|
|
setConfig({
|
|
|
|
pureSFC: true
|
|
|
|
});
|
|
|
|
|
2017-05-27 05:30:22 +00:00
|
|
|
const Root = ({ store }) => (
|
|
|
|
<Provider store={store}>
|
|
|
|
<App />
|
|
|
|
</Provider>
|
|
|
|
);
|
|
|
|
|
2018-04-05 19:13:32 +00:00
|
|
|
export default hot(module)(Root);
|