@tanstack/router-core 1.160.0 → 1.161.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.
@@ -971,7 +971,7 @@ class RouterCore {
971
971
  };
972
972
  this.loadRouteChunk = loadMatches.loadRouteChunk;
973
973
  this.preloadRoute = async (opts) => {
974
- const next = this.buildLocation(opts);
974
+ const next = opts._builtLocation ?? this.buildLocation(opts);
975
975
  let matches = this.matchRoutes(next, {
976
976
  throwOnError: true,
977
977
  preload: true,