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 80b7b5e commit 5fa6871Copy full SHA for 5fa6871
packages/router-core/src/load-matches.ts
@@ -764,13 +764,6 @@ const loadRouteMatch = async (
764
} else {
765
const prevMatch = inner.router.getMatch(matchId)!
766
767
- // Check if the match was preloaded and has a redirect or notFound error
768
- // We check _nonReactive.error because reactive error updates may be in a pending transition
769
- const error = prevMatch._nonReactive.error || prevMatch.error
770
- if (error && (isRedirect(error) || isNotFound(error))) {
771
- handleRedirectAndNotFound(inner, prevMatch, error)
772
- }
773
-
774
// there is a loaderPromise, so we are in the middle of a load
775
if (prevMatch._nonReactive.loaderPromise) {
776
// do not block if we already have stale data we can show
0 commit comments