From 8627bda73429c36823ed8974c6a6e3cf030cfe54 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Mon, 8 Apr 2024 12:53:42 +0900 Subject: [PATCH] fix: `createBrowserHistory`'s `createHref` option --- packages/history/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {