Skip to content

Commit

Permalink
unnecessary param
Browse files Browse the repository at this point in the history
there's no need to pass asyncReducer from argument
  • Loading branch information
codinglobster committed Aug 8, 2018
1 parent 8db9097 commit 0244730
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 0244730

Please sign in to comment.