Skip to content

Commit 5673cdd

Browse files
Fix: Fix linting issues
1 parent 5eba72e commit 5673cdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/themr.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ export default (componentName, localTheme, options = {}) => ThemedComponent => {
148148

149149
calcTheme(props) {
150150
const { composeTheme } = props
151-
return composeTheme ? this.getTheme(props) : this.getThemeNotComposed(props)
151+
return composeTheme
152+
? this.getTheme(props)
153+
: this.getThemeNotComposed(props)
152154
}
153155

154156
shouldComponentUpdate(nextProps) {

0 commit comments

Comments
 (0)