@tanstack/react-router 1.99.7 → 1.99.8
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
|
@@ -607,7 +607,7 @@ class Router {
|
|
|
607
607
|
if (reloadDocument) {
|
|
608
608
|
if (!href) {
|
|
609
609
|
const location = this.buildLocation({ to, ...rest });
|
|
610
|
-
href = location.href;
|
|
610
|
+
href = this.history.createHref(location.href);
|
|
611
611
|
}
|
|
612
612
|
if (rest.replace) {
|
|
613
613
|
window.location.replace(href);
|