From 704b45ea52b10099a765c93ced37d03393a72d17 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 3 Mar 2020 11:28:09 -0600 Subject: [PATCH] fix(history): correct url when replacing current location --- src/history/html5.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history/html5.ts b/src/history/html5.ts index 463005ee..637b7523 100644 --- a/src/history/html5.ts +++ b/src/history/html5.ts @@ -243,7 +243,7 @@ function useHistoryStateNavigation(base: string) { forward: normalized, scroll: computeScrollPosition(), } - changeLocation(normalized, currentState, true) + changeLocation(currentState.current, currentState, true) const state: StateEntry = { ...buildState(location.value, normalized, null), -- 2.47.3