@tanstack/router-core 1.121.27 → 1.121.33
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 -1
- package/dist/cjs/router.cjs.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/router.ts +1 -1
package/dist/esm/router.js
CHANGED
|
@@ -242,7 +242,7 @@ class RouterCore {
|
|
|
242
242
|
}
|
|
243
243
|
const fromSearch = lastMatch.search;
|
|
244
244
|
const fromParams = { ...lastMatch.params };
|
|
245
|
-
const nextTo = dest.to ? this.resolvePathWithBase(fromPath, `${dest.to}`) : fromPath;
|
|
245
|
+
const nextTo = dest.to ? this.resolvePathWithBase(fromPath, `${dest.to}`) : this.resolvePathWithBase(fromPath, ".");
|
|
246
246
|
let nextParams = (dest.params ?? true) === true ? fromParams : {
|
|
247
247
|
...fromParams,
|
|
248
248
|
...functionalUpdate(dest.params, fromParams)
|