@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.
@@ -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);