Skip to content

Commit

Permalink
refactor(link): simplify error silencing
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 8, 2019
1 parent f645cf0 commit c5b9318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export default {
const handler = e => {
if (guardEvent(e)) {
if (this.replace) {
router.replace(location, null, noop)
router.replace(location, noop)
} else {
router.push(location, null, noop)
router.push(location, noop)
}
}
}
Expand Down

0 comments on commit c5b9318

Please sign in to comment.