@tanstack/solid-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.
- package/dist/cjs/router.cjs +4 -2
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +4 -2
- package/dist/esm/router.js.map +1 -1
- package/dist/source/router.js +3 -1
- package/dist/source/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +3 -1
package/dist/cjs/router.cjs
CHANGED
|
@@ -933,8 +933,10 @@ class Router {
|
|
|
933
933
|
updateMatch(matchId, (prev) => ({
|
|
934
934
|
...prev,
|
|
935
935
|
loadPromise: routerCore.createControlledPromise(() => {
|
|
936
|
-
var _a2;
|
|
937
|
-
(_a2 = prev.loadPromise) == null ? void 0 : _a2.
|
|
936
|
+
var _a2, _b2;
|
|
937
|
+
if (((_a2 = prev.loadPromise) == null ? void 0 : _a2.status) !== "resolved") {
|
|
938
|
+
(_b2 = prev.loadPromise) == null ? void 0 : _b2.resolve();
|
|
939
|
+
}
|
|
938
940
|
}),
|
|
939
941
|
beforeLoadPromise: routerCore.createControlledPromise()
|
|
940
942
|
}));
|