@tanstack/react-router 1.94.0 → 1.94.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1009,6 +1009,10 @@ class Router {
1009
1009
  let loaderIsRunningAsync = false;
1010
1010
  if (prevLoaderPromise) {
1011
1011
  await prevLoaderPromise;
1012
+ const match = this.getMatch(matchId);
1013
+ if (match.error) {
1014
+ handleRedirectAndNotFound(match, match.error);
1015
+ }
1012
1016
  } else {
1013
1017
  const parentMatchPromise = matchPromises[index - 1];
1014
1018
  const route = this.looseRoutesById[routeId];