@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/esm/router.js
CHANGED
|
@@ -431,10 +431,6 @@ class Router {
|
|
|
431
431
|
};
|
|
432
432
|
this.load = async () => {
|
|
433
433
|
this.latestLocation = this.parseLocation(this.latestLocation);
|
|
434
|
-
this.__store.setState((s) => ({
|
|
435
|
-
...s,
|
|
436
|
-
loadedAt: Date.now()
|
|
437
|
-
}));
|
|
438
434
|
let redirect;
|
|
439
435
|
let notFound;
|
|
440
436
|
let loadPromise;
|
|
@@ -500,6 +496,7 @@ class Router {
|
|
|
500
496
|
return {
|
|
501
497
|
...s,
|
|
502
498
|
isLoading: false,
|
|
499
|
+
loadedAt: Date.now(),
|
|
503
500
|
matches: newMatches,
|
|
504
501
|
pendingMatches: void 0,
|
|
505
502
|
cachedMatches: [
|