Skip to content

Commit 6f5e7ce

Browse files
committed
Remove passthrough
1 parent 8b606e6 commit 6f5e7ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/themr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ export default (componentName, localTheme, options = DEFAULT_OPTIONS) => (Themed
4646
}
4747

4848
render() {
49-
const { composeTheme } = this.props
49+
const { composeTheme, ...rest } = this.props
5050
return React.createElement(ThemedComponent, {
51-
...this.props,
51+
...rest,
5252
theme: composeTheme
5353
? this.getTheme()
5454
: this.getThemeNotComposed()

0 commit comments

Comments
 (0)