Fixed component HRM issue

This commit is contained in:
rajeshaz09 2016-07-11 10:27:39 +05:30
parent 6a03536653
commit 5e32962e5e
2 changed files with 5 additions and 3 deletions

View File

@ -10,16 +10,17 @@ render(
<AppContainer>
<Root
store={ store }
/>
/>
</AppContainer>,
document.getElementById('root')
);
if (module.hot) {
module.hot.accept('./containers/Root', () => {
const RootContainer = require('./containers/Root').default
render(
<AppContainer>
<Root
<RootContainer
store={ store }
/>
</AppContainer>,

View File

@ -18,9 +18,10 @@ render(
if (module.hot) {
module.hot.accept('./containers/Root', () => {
const RootContainer = require('./containers/Root').default
render(
<AppContainer>
<Root
<RootContainer
store={ store }
/>
</AppContainer>,