Skip to content

Commit 72aa974

Browse files
committed
Merge pull request #201 from iamdustan/breaking-changes-s-atom-store
Breaking changes: s/atom/store
2 parents 34d90b9 + 8c8e429 commit 72aa974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/composeReducers.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import pick from '../utils/pick';
44
export default function composeReducers(reducers) {
55
const finalReducers = pick(reducers, (val) => typeof val === 'function');
66

7-
return function Composition(atom = {}, action) {
7+
return function composition(state = {}, action) {
88
return mapValues(finalReducers, (store, key) =>
9-
store(atom[key], action)
9+
store(state[key], action)
1010
);
1111
};
1212
}

0 commit comments

Comments
 (0)