Skip to content

Commit

Permalink
Merge pull request #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 833294b + 7ecc5e9 commit 1fc3e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dva-core/src/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 1fc3e10

Please sign in to comment.