Skip to content

Commit 45bb953

Browse files
authored
Merge pull request #63 from NikhilVerma/patch-1
Pass through all props in withLive HOC
2 parents 808033c + cf5add4 commit 45bb953

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hoc/withLive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const withLive = WrappedComponent => {
77

88
render() {
99
const { live } = this.context
10-
return <WrappedComponent live={live} />
10+
return <WrappedComponent live={live} {...this.props} />
1111
}
1212
}
1313

0 commit comments

Comments
 (0)