We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3691914 commit c02c846Copy full SHA for c02c846
modules/__tests__/applyRouterMiddleware-test.js
@@ -53,7 +53,7 @@ const BarContainer = React.createClass({
53
render() {
54
const { children, ...props } = this.props
55
const barFromContext = this.context.bar
56
- return cloneElement(children, { props, barFromContext })
+ return cloneElement(children, { ...props, barFromContext })
57
}
58
})
59
0 commit comments