@tanstack/react-router 1.112.9 → 1.112.10

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.
@@ -935,8 +935,10 @@ class Router {
935
935
  updateMatch(matchId, (prev) => ({
936
936
  ...prev,
937
937
  loadPromise: createControlledPromise(() => {
938
- var _a2;
939
- (_a2 = prev.loadPromise) == null ? void 0 : _a2.resolve();
938
+ var _a2, _b2;
939
+ if (((_a2 = prev.loadPromise) == null ? void 0 : _a2.status) !== "resolved") {
940
+ (_b2 = prev.loadPromise) == null ? void 0 : _b2.resolve();
941
+ }
940
942
  }),
941
943
  beforeLoadPromise: createControlledPromise()
942
944
  }));