@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/cjs/router.cjs
CHANGED
|
@@ -244,7 +244,7 @@ class RouterCore {
|
|
|
244
244
|
}
|
|
245
245
|
const fromSearch = lastMatch.search;
|
|
246
246
|
const fromParams = { ...lastMatch.params };
|
|
247
|
-
const nextTo = dest.to ? this.resolvePathWithBase(fromPath, `${dest.to}`) : fromPath;
|
|
247
|
+
const nextTo = dest.to ? this.resolvePathWithBase(fromPath, `${dest.to}`) : this.resolvePathWithBase(fromPath, ".");
|
|
248
248
|
let nextParams = (dest.params ?? true) === true ? fromParams : {
|
|
249
249
|
...fromParams,
|
|
250
250
|
...utils.functionalUpdate(dest.params, fromParams)
|