Skip to content

Commit dcb3ec8

Browse files
committed
Use iterator's value.
1 parent bda3087 commit dcb3ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ReduxAsyncConnect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function eachComponents(components, iterator) {
1717
for (let i = 0, l = components.length; i < l; i++) { // eslint-disable-line id-length
1818
if (typeof components[i] === 'object') {
1919
for (let [key, value] of Object.entries(components[i])) {
20-
iterator(components[i][key], i, key);
20+
iterator(value, i, key);
2121
}
2222
} else {
2323
iterator(components[i], i);

0 commit comments

Comments
 (0)