@tanstack/router-core 1.121.14 → 1.121.16
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 +2 -2
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +2 -2
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +3 -2
package/dist/cjs/router.cjs
CHANGED
|
@@ -690,6 +690,8 @@ class RouterCore {
|
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
+
(_a = match.beforeLoadPromise) == null ? void 0 : _a.resolve();
|
|
694
|
+
(_b = match.loaderPromise) == null ? void 0 : _b.resolve();
|
|
693
695
|
updateMatch(match.id, (prev) => ({
|
|
694
696
|
...prev,
|
|
695
697
|
status: redirect.isRedirect(err) ? "redirected" : notFound.isNotFound(err) ? "notFound" : "error",
|
|
@@ -701,8 +703,6 @@ class RouterCore {
|
|
|
701
703
|
if (!err.routeId) {
|
|
702
704
|
err.routeId = match.routeId;
|
|
703
705
|
}
|
|
704
|
-
(_a = match.beforeLoadPromise) == null ? void 0 : _a.resolve();
|
|
705
|
-
(_b = match.loaderPromise) == null ? void 0 : _b.resolve();
|
|
706
706
|
(_c = match.loadPromise) == null ? void 0 : _c.resolve();
|
|
707
707
|
if (redirect.isRedirect(err)) {
|
|
708
708
|
rendered = true;
|