@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/cjs/router.cjs
CHANGED
|
@@ -468,7 +468,7 @@ class Router {
|
|
|
468
468
|
const parsed = history.parseHref(href, {});
|
|
469
469
|
rest.to = parsed.pathname;
|
|
470
470
|
rest.search = this.options.parseSearch(parsed.search);
|
|
471
|
-
rest.hash = parsed.hash;
|
|
471
|
+
rest.hash = parsed.hash.slice(1);
|
|
472
472
|
}
|
|
473
473
|
const location = this.buildLocation({
|
|
474
474
|
...rest,
|