@tanstack/router-core 0.0.1-beta.49 → 0.0.1-beta.50

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.
@@ -972,7 +972,7 @@
972
972
  parseSearch: options?.parseSearch ?? defaultParseSearch,
973
973
  fetchServerDataFn: options?.fetchServerDataFn ?? defaultFetchServerDataFn
974
974
  };
975
- this.history = this.options?.history ?? isServer ? createMemoryHistory() : createBrowserHistory();
975
+ this.history = this.options?.history ?? createBrowserHistory();
976
976
  this.store = createStore(getInitialRouterState());
977
977
  this.basepath = '';
978
978
  this.update(options);
@@ -1608,15 +1608,6 @@
1608
1608
  state
1609
1609
  } = this.history.location;
1610
1610
  const parsedSearch = this.options.parseSearch(search);
1611
- console.log({
1612
- pathname: pathname,
1613
- searchStr: search,
1614
- search: replaceEqualDeep(previousLocation?.search, parsedSearch),
1615
- hash: hash.split('#').reverse()[0] ?? '',
1616
- href: `${pathname}${search}${hash}`,
1617
- state: state,
1618
- key: state?.key || '__init__'
1619
- });
1620
1611
  return {
1621
1612
  pathname: pathname,
1622
1613
  searchStr: search,