We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdc9967 commit 615757aCopy full SHA for 615757a
modules/components/Route.js
@@ -469,7 +469,7 @@ function computeHandlerProps(matches, query) {
469
if (arguments.length > 2 && typeof arguments[2] !== 'undefined')
470
throw new Error('Passing children to a route handler is not supported');
471
472
- return route.props.handler.apply(null, mergeProperties(props, addedProps));
+ return route.props.handler(mergeProperties(props, addedProps));
473
}.bind(this, props);
474
});
475
0 commit comments