@tanstack/react-router 1.52.3 → 1.52.4
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 +1 -4
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +1 -4
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +1 -5
package/dist/cjs/router.cjs
CHANGED
|
@@ -433,10 +433,6 @@ class Router {
|
|
|
433
433
|
};
|
|
434
434
|
this.load = async () => {
|
|
435
435
|
this.latestLocation = this.parseLocation(this.latestLocation);
|
|
436
|
-
this.__store.setState((s) => ({
|
|
437
|
-
...s,
|
|
438
|
-
loadedAt: Date.now()
|
|
439
|
-
}));
|
|
440
436
|
let redirect;
|
|
441
437
|
let notFound$1;
|
|
442
438
|
let loadPromise;
|
|
@@ -502,6 +498,7 @@ class Router {
|
|
|
502
498
|
return {
|
|
503
499
|
...s,
|
|
504
500
|
isLoading: false,
|
|
501
|
+
loadedAt: Date.now(),
|
|
505
502
|
matches: newMatches,
|
|
506
503
|
pendingMatches: void 0,
|
|
507
504
|
cachedMatches: [
|