@tanstack/router-core 0.0.1-beta.53 → 0.0.1-beta.54
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/build/cjs/router.js +1 -1
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +148 -148
- package/build/umd/index.development.js +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +1 -2
|
@@ -1355,7 +1355,7 @@
|
|
|
1355
1355
|
// If this `to` is a valid external URL, return
|
|
1356
1356
|
// null for LinkUtils
|
|
1357
1357
|
const toString = String(to);
|
|
1358
|
-
const fromString = String(from);
|
|
1358
|
+
const fromString = typeof from === 'undefined' ? from : String(from);
|
|
1359
1359
|
let isExternal;
|
|
1360
1360
|
try {
|
|
1361
1361
|
new URL(`${toString}`);
|