diff --git a/packages/history/src/index.ts b/packages/history/src/index.ts index d5ecb51385c..41fc6c93c95 100644 --- a/packages/history/src/index.ts +++ b/packages/history/src/index.ts @@ -264,7 +264,7 @@ export function createBrowserHistory(opts?: { } // Update the location in memory - currentLocation = parseHref(destHref, state) + currentLocation = parseHref(href, state) // Keep track of the next location we need to flush to the URL next = {