@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.
- package/dist/cjs/router.cjs +4 -0
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +4 -0
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +4 -0
package/dist/esm/router.js
CHANGED
|
@@ -1007,6 +1007,10 @@ class Router {
|
|
|
1007
1007
|
let loaderIsRunningAsync = false;
|
|
1008
1008
|
if (prevLoaderPromise) {
|
|
1009
1009
|
await prevLoaderPromise;
|
|
1010
|
+
const match = this.getMatch(matchId);
|
|
1011
|
+
if (match.error) {
|
|
1012
|
+
handleRedirectAndNotFound(match, match.error);
|
|
1013
|
+
}
|
|
1010
1014
|
} else {
|
|
1011
1015
|
const parentMatchPromise = matchPromises[index - 1];
|
|
1012
1016
|
const route = this.looseRoutesById[routeId];
|