Skip to content

Commit

Permalink
refactor(router): remove ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Mar 26, 2021
1 parent 4108814 commit a4d783f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.ts
Expand Up @@ -1057,7 +1057,7 @@ export function createRouter(options: RouterOptions): Router {
null

return nextTick()
.then(() => scrollBehavior!(to, from, scrollPosition))
.then(() => scrollBehavior(to, from, scrollPosition))
.then(position => position && scrollToPosition(position))
.catch(triggerError)
}
Expand Down

0 comments on commit a4d783f

Please sign in to comment.