Skip to content

Commit 4dbc02c

Browse files
Fix: Resolve linting issues
1 parent 49ac3cd commit 4dbc02c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/components/themr.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const themr = (componentName, localTheme, options = {}) => ThemedComponent => {
177177

178178
return hoistNonReactStatics(Themed, ThemedComponent)
179179
}
180-
export default themr;
180+
export default themr
181181

182182
/**
183183
* Merges passed themes by concatenating string keys and processing nested themes

test/components/themr.spec.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,10 @@ describe('Themr decorator function', () => {
337337
}
338338
const theme = {}
339339
const DecoratedContainer = hoc(Container)
340-
const ThemedDecoratedContainer = themr('Container', theme)(
341-
DecoratedContainer
342-
)
340+
const ThemedDecoratedContainer = themr(
341+
'Container',
342+
theme
343+
)(DecoratedContainer)
343344
const tree = TestUtils.renderIntoDocument(
344345
<ThemedDecoratedContainer innerRef={spy} mapThemrProps={customMapper} />
345346
)

0 commit comments

Comments
 (0)