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 2d0fb47 commit fb6d1a5Copy full SHA for fb6d1a5
modules/components/Route.js
@@ -447,7 +447,7 @@ function computeHandlerProps(matches, query) {
447
}
448
449
childHandler = function (props, addedProps, children) {
450
- return route.props.handler(mergeProperties(props, addedProps), children);
+ return route.props.handler.apply(null, [mergeProperties(props, addedProps)].concat(children));
451
}.bind(this, props);
452
453
match.refName = props.ref;
0 commit comments