@tanstack/react-router 1.65.0 → 1.66.1
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 +2 -1
package/dist/esm/router.js
CHANGED
|
@@ -466,7 +466,7 @@ class Router {
|
|
|
466
466
|
const parsed = parseHref(href, {});
|
|
467
467
|
rest.to = parsed.pathname;
|
|
468
468
|
rest.search = this.options.parseSearch(parsed.search);
|
|
469
|
-
rest.hash = parsed.hash;
|
|
469
|
+
rest.hash = parsed.hash.slice(1);
|
|
470
470
|
}
|
|
471
471
|
const location = this.buildLocation({
|
|
472
472
|
...rest,
|