@tanstack/router-core 1.157.12 → 1.157.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-core",
3
- "version": "1.157.12",
3
+ "version": "1.157.13",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
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
- delete this.shouldViewTransition
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 &&