Skip to content

Commit 0ed8562

Browse files
committed
bugfix: shouldComponentUpdate
1 parent 61ba16d commit 0ed8562

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/themr.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ export default (componentName, localTheme, options = {}) => ThemedComponent => {
159159
themeNamespace !== prevProps.themeNamespace
160160
) {
161161
this.theme_ = this.calcTheme()
162-
return true
163162
}
164-
return false
163+
return true
165164
}
166165

167166
render() {

0 commit comments

Comments
 (0)