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 dae8833 commit 04e715aCopy full SHA for 04e715a
packages/react-router/src/Match.tsx
@@ -268,7 +268,7 @@ export const MatchInner = React.memo(function MatchInnerImpl({
268
269
if (match.status === 'notFound') {
270
invariant(isNotFound(match.error), 'Expected a notFound error')
271
- return renderRouteNotFound(router, route, match.error)
+ return renderRouteNotFound(router, route, match.error.data)
272
}
273
274
if (match.status === 'redirected') {
0 commit comments