@tanstack/react-router 1.57.17 → 1.57.18
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 -4
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +4 -4
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +1 -1
package/package.json
CHANGED
package/src/router.ts
CHANGED
|
@@ -1326,7 +1326,7 @@ export class Router<
|
|
|
1326
1326
|
'Could not find match for from: ' + dest.from,
|
|
1327
1327
|
)
|
|
1328
1328
|
|
|
1329
|
-
const fromSearch = this.state.pendingMatches
|
|
1329
|
+
const fromSearch = this.state.pendingMatches?.length
|
|
1330
1330
|
? last(this.state.pendingMatches)?.search
|
|
1331
1331
|
: last(fromMatches)?.search || this.latestLocation.search
|
|
1332
1332
|
|