Skip to content

Commit 79f60bc

Browse files
hootlexkazupon
authored andcommitted
docs: remove extra space (#2256)
1 parent 429f119 commit 79f60bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/advanced/navigation-guards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ beforeRouteUpdate (to, from, next) {
127127
The **leave guard** is usually used to prevent the user from accidentally leaving the route with unsaved edits. The navigation can be canceled by calling `next(false)`.
128128

129129
```js
130-
beforeRouteLeave (to, from , next) {
130+
beforeRouteLeave (to, from, next) {
131131
const answer = window.confirm('Do you really want to leave? you have unsaved changes!')
132132
if (answer) {
133133
next()

0 commit comments

Comments
 (0)