Skip to content

Commit

Permalink
Return true instead of void (#3869)
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens authored and arunoda committed Feb 22, 2018
1 parent 99fb191 commit 50fcefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/router/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default class Router {
if (this.onlyAHashChange(as)) {
this.changeState(method, url, as)
this.scrollToHash(as)
return
return true
}

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

0 comments on commit 50fcefd

Please sign in to comment.