Skip to content

Commit 33ddea7

Browse files
committed
docs: add timeout amount in actions
1 parent 9fddf0b commit 33ddea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ actions: {
5252
incrementAsync ({ commit }) {
5353
setTimeout(() => {
5454
commit('increment')
55-
})
55+
}, 1000)
5656
}
5757
}
5858
```
@@ -129,7 +129,7 @@ actions: {
129129
setTimeout(() => {
130130
commit('someMutation')
131131
resolve()
132-
})
132+
}, 1000)
133133
})
134134
}
135135
}

0 commit comments

Comments
 (0)