Skip to content

Commit 50fcefd

Browse files
timneutkensarunoda
authored andcommitted
Return true instead of void (vercel#3869)
1 parent 99fb191 commit 50fcefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/router/router.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default class Router {
135135
if (this.onlyAHashChange(as)) {
136136
this.changeState(method, url, as)
137137
this.scrollToHash(as)
138-
return
138+
return true
139139
}
140140

141141
const { pathname, query } = parse(url, true)

0 commit comments

Comments
 (0)