Skip to content

Commit

Permalink
fix: #30 hot reload
Browse files Browse the repository at this point in the history
  • Loading branch information
fireyy committed Jul 17, 2017
1 parent de9d69e commit 92da405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ render(

if (module.hot) {
module.hot.accept('./containers/Root', () => {
const RootContainer = require('./containers/Root');
const RootContainer = require('./containers/Root').default;
render(
<AppContainer>
<RootContainer
Expand Down

0 comments on commit 92da405

Please sign in to comment.