@tanstack/router-core 0.0.1-beta.184 → 0.0.1-beta.185

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.
@@ -120,7 +120,7 @@ function createHistory(opts) {
120
120
  function createBrowserHistory(opts) {
121
121
  const getHref = opts?.getHref ?? (() => `${window.location.pathname}${window.location.search}${window.location.hash}`);
122
122
  const createHref = opts?.createHref ?? (path => path);
123
- const getLocation = () => parseLocation(getHref(), history.state);
123
+ const getLocation = () => parseLocation(getHref(), window.history.state);
124
124
  return createHistory({
125
125
  getLocation,
126
126
  subscriber: onUpdate => {