@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.
@@ -688,6 +688,8 @@ class RouterCore {
688
688
  }
689
689
  }
690
690
  }
691
+ (_a = match.beforeLoadPromise) == null ? void 0 : _a.resolve();
692
+ (_b = match.loaderPromise) == null ? void 0 : _b.resolve();
691
693
  updateMatch(match.id, (prev) => ({
692
694
  ...prev,
693
695
  status: isRedirect(err) ? "redirected" : isNotFound(err) ? "notFound" : "error",
@@ -699,8 +701,6 @@ class RouterCore {
699
701
  if (!err.routeId) {
700
702
  err.routeId = match.routeId;
701
703
  }
702
- (_a = match.beforeLoadPromise) == null ? void 0 : _a.resolve();
703
- (_b = match.loaderPromise) == null ? void 0 : _b.resolve();
704
704
  (_c = match.loadPromise) == null ? void 0 : _c.resolve();
705
705
  if (isRedirect(err)) {
706
706
  rendered = true;