Skip to content

Commit d4fac96

Browse files
committed
Fix
1 parent 6e52c9f commit d4fac96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Components/Web.JS/src/Services/NavigationEnhancement.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ function onPopState(state: PopStateEvent) {
120120
return;
121121
}
122122

123-
if (isSameUrlWithDifferentHash(currentContentUrl, location.href)) {
123+
if (state.state == null && isSameUrlWithDifferentHash(currentContentUrl, location.href)) {
124+
currentContentUrl = location.href;
124125
return;
125126
}
126127

0 commit comments

Comments
 (0)