Skip to content

Commit 0ad2991

Browse files
committed
Updated as per code review comment
1 parent ec41e92 commit 0ad2991

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Router/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ export const navigate = (url, args = {}, store) => {
182182

183183
if (mustUpdateLocationHash()) {
184184
setHash(url)
185-
}
186-
187-
if (!mustUpdateLocationHash()) {
185+
} else {
188186
forcedHash = url
189187
handleHashChange(url)
190188
.then(() => {

0 commit comments

Comments
 (0)