Skip to content

Commit be197d1

Browse files
improve naming
1 parent 727d9c1 commit be197d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/namespaceActions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ function unflattenActionCreators(flatActionCreators, namespace = defaultNamespac
4747
}
4848
}
4949

50-
const partialNestedActionCreators = {};
50+
const nestedActionCreators = {};
5151
Object
5252
.getOwnPropertyNames(flatActionCreators)
53-
.forEach(type => unflatten(type, partialNestedActionCreators, type.split(namespace)));
54-
return partialNestedActionCreators;
53+
.forEach(type => unflatten(type, nestedActionCreators, type.split(namespace)));
54+
return nestedActionCreators;
5555
}
5656

5757
export { flattenActionMap, unflattenActionCreators, defaultNamespace };

0 commit comments

Comments
 (0)