@tanstack/react-router 0.0.1-beta.15 → 0.0.1-beta.18

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.
@@ -2451,9 +2451,9 @@ function createRouter(userOptions) {
2451
2451
  pathname: next.pathname,
2452
2452
  hash: next.hash,
2453
2453
  search: next.searchStr
2454
- }, {
2454
+ }, _extends({
2455
2455
  id
2456
- });
2456
+ }, next.state));
2457
2457
  } else {
2458
2458
  history.push({
2459
2459
  pathname: next.pathname,
@@ -2647,7 +2647,7 @@ function createReactRouter(opts) {
2647
2647
 
2648
2648
  if ((_opts$strict = opts == null ? void 0 : opts.strict) != null ? _opts$strict : true) {
2649
2649
  invariant(match, "Could not find an active match for \"" + routeId + "\"!");
2650
- invariant(runtimeMatch.routeId == (match == null ? void 0 : match.routeId), "useMatch('" + (match == null ? void 0 : match.routeId) + "') is being called in a component that is meant to render the '" + runtimeMatch.routeId + "' route. Did you mean to 'useMatch(" + (match == null ? void 0 : match.routeId) + ", { strict: false })' or 'useRoute(" + (match == null ? void 0 : match.routeId) + ")' instead?");
2650
+ invariant(runtimeMatch.routeId == (match == null ? void 0 : match.routeId), "useMatch(\"" + (match == null ? void 0 : match.routeId) + "\") is being called in a component that is meant to render the '" + runtimeMatch.routeId + "' route. Did you mean to 'useMatch(\"" + (match == null ? void 0 : match.routeId) + "\", { strict: false })' or 'useRoute(\"" + (match == null ? void 0 : match.routeId) + "\")' instead?");
2651
2651
  }
2652
2652
 
2653
2653
  return match;