We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff1534 commit d279e63Copy full SHA for d279e63
src/client/app/router.ts
@@ -329,7 +329,7 @@ function shouldHotReload(payload: PageDataPayload): boolean {
329
}
330
331
function updateHistory(href: string) {
332
- if (inBrowser && href !== normalizeHref(location.href)) {
+ if (inBrowser && normalizeHref(href) !== normalizeHref(location.href)) {
333
// save scroll position before changing url
334
history.replaceState({ scrollPosition: window.scrollY }, document.title)
335
history.pushState(null, '', href)
0 commit comments