Skip to content

Commit

Permalink
Merge pull request dvajs#1856 from codinglobster/master
Browse files Browse the repository at this point in the history
fix: unnecessary param of createReducer
  • Loading branch information
sorrycc authored Aug 10, 2018
2 parents 7c5bccd + 0244730 commit b8a1512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function create(hooksAndOpts = {}, createOpts = {}) {
m.state,
plugin._handleActions
);
store.replaceReducer(createReducer(store.asyncReducers));
store.replaceReducer(createReducer());
if (m.effects) {
store.runSaga(
app._getSaga(m.effects, m, onError, plugin.get('onEffect'))
Expand Down

0 comments on commit b8a1512

Please sign in to comment.