Skip to content

Commit 7822d85

Browse files
Update variables names
1 parent 8d1132e commit 7822d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/themr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default (componentName, localTheme, options = {}) => (ThemedComponent) =>
4747

4848
return Object.keys(theme)
4949
.filter(key => key.startsWith(themeNamespace))
50-
.reduce((p, c) => ({ ...p, [removeNamespace(c, themeNamespace)]: theme[c] }), {})
50+
.reduce((result, key) => ({ ...result, [removeNamespace(key, themeNamespace)]: theme[key] }), {})
5151
}
5252

5353
getThemeNotComposed() {

0 commit comments

Comments
 (0)