diff --git a/examples/todomvc/index.js b/examples/todomvc/index.js index ac9a9c5a..5fc0e035 100644 --- a/examples/todomvc/index.js +++ b/examples/todomvc/index.js @@ -8,20 +8,19 @@ import Root from './containers/Root'; const store = configureStore(); render( - , + + + , document.getElementById('root') ); if (module.hot) { module.hot.accept('./containers/Root', () => { + const Root = require('./containers/Root').default; render( - , + + + , document.getElementById('root') ); });