Skip to content

Commit d413165

Browse files
committed
Code typo in doc
1 parent dae2130 commit d413165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ A more practical example of real-world actions would be an action to checkout a
7676

7777
``` js
7878
actions: {
79-
checkout ({ commit, state }, payload) {
79+
checkout ({ commit, state }, products) {
8080
// save the items currently in the cart
8181
const savedCartItems = [...state.cart.added]
8282
// send out checkout request, and optimistically

0 commit comments

Comments
 (0)