diff --git a/src/utils/composeReducers.js b/src/utils/composeReducers.js index e93887fabf..4d654ecfbe 100644 --- a/src/utils/composeReducers.js +++ b/src/utils/composeReducers.js @@ -4,9 +4,9 @@ import pick from '../utils/pick'; export default function composeReducers(reducers) { const finalReducers = pick(reducers, (val) => typeof val === 'function'); - return function Composition(atom = {}, action) { + return function composition(state = {}, action) { return mapValues(finalReducers, (store, key) => - store(atom[key], action) + store(state[key], action) ); }; }