@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/package.json
CHANGED
package/src/router.ts
CHANGED
|
@@ -1657,7 +1657,8 @@ export class Router<
|
|
|
1657
1657
|
const parsed = parseHref(href, {})
|
|
1658
1658
|
rest.to = parsed.pathname
|
|
1659
1659
|
rest.search = this.options.parseSearch(parsed.search)
|
|
1660
|
-
|
|
1660
|
+
// remove the leading `#` from the hash
|
|
1661
|
+
rest.hash = parsed.hash.slice(1)
|
|
1661
1662
|
}
|
|
1662
1663
|
|
|
1663
1664
|
const location = this.buildLocation({
|