@tanstack/router-core 1.157.12 → 1.157.14
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/load-matches.cjs +0 -3
- package/dist/cjs/load-matches.cjs.map +1 -1
- package/dist/cjs/router.cjs +1 -1
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/load-matches.js +0 -3
- package/dist/esm/load-matches.js.map +1 -1
- package/dist/esm/router.js +1 -1
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/load-matches.ts +0 -7
- package/src/router.ts +2 -1
package/package.json
CHANGED
package/src/load-matches.ts
CHANGED
|
@@ -389,13 +389,6 @@ const executeBeforeLoad = (
|
|
|
389
389
|
|
|
390
390
|
const abortController = new AbortController()
|
|
391
391
|
|
|
392
|
-
const parentMatchId = inner.matches[index - 1]?.id
|
|
393
|
-
const parentMatch = parentMatchId
|
|
394
|
-
? inner.router.getMatch(parentMatchId)!
|
|
395
|
-
: undefined
|
|
396
|
-
const parentMatchContext =
|
|
397
|
-
parentMatch?.context ?? inner.router.options.context ?? undefined
|
|
398
|
-
|
|
399
392
|
let isPending = false
|
|
400
393
|
const pending = () => {
|
|
401
394
|
if (isPending) return
|
package/src/router.ts
CHANGED
|
@@ -2487,7 +2487,8 @@ export class RouterCore<
|
|
|
2487
2487
|
this.shouldViewTransition ?? this.options.defaultViewTransition
|
|
2488
2488
|
|
|
2489
2489
|
// Reset the view transition flag
|
|
2490
|
-
|
|
2490
|
+
this.shouldViewTransition = undefined
|
|
2491
|
+
|
|
2491
2492
|
// Attempt to start a view transition (or just apply the changes if we can't)
|
|
2492
2493
|
if (
|
|
2493
2494
|
shouldViewTransition &&
|