@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.
@@ -609,7 +609,7 @@ class Router {
609
609
  if (reloadDocument) {
610
610
  if (!href) {
611
611
  const location = this.buildLocation({ to, ...rest });
612
- href = location.href;
612
+ href = this.history.createHref(location.href);
613
613
  }
614
614
  if (rest.replace) {
615
615
  window.location.replace(href);