Skip to content

Commit c5b9318

Browse files
committed
refactor(link): simplify error silencing
1 parent f645cf0 commit c5b9318

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/link.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export default {
7070
const handler = e => {
7171
if (guardEvent(e)) {
7272
if (this.replace) {
73-
router.replace(location, null, noop)
73+
router.replace(location, noop)
7474
} else {
75-
router.push(location, null, noop)
75+
router.push(location, noop)
7676
}
7777
}
7878
}

0 commit comments

Comments
 (0)