Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
justinjung04 committed Aug 2, 2016
1 parent dc19880 commit b91e219
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ const store = createStore(reducers);

if(process.env.NODE_ENV == 'development' && module.hot) {
module.hot.accept('./reducers', () => {
const newRootReducer = require('./reducers').default;
store.replaceReducer(newRootReducer);
store.replaceReducer(require('./reducers').default);
});
}

Expand Down
1 change: 0 additions & 1 deletion src/reducers/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { combineReducers } from 'redux';

import todos from './todos';

export default combineReducers({
Expand Down

0 comments on commit b91e219

Please sign in to comment.