Skip to content

Commit ec41e92

Browse files
committed
Fix for update hash
1 parent 7bb6b32 commit ec41e92

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Router/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ export const navigate = (url, args = {}, store) => {
180180
// push request in the queue
181181
queue(url, args, store)
182182

183-
setHash(url)
183+
if (mustUpdateLocationHash()) {
184+
setHash(url)
185+
}
186+
184187
if (!mustUpdateLocationHash()) {
185188
forcedHash = url
186189
handleHashChange(url)

0 commit comments

Comments
 (0)