Skip to content

Commit 3a51523

Browse files
authored
Fix Vuex action snippet.
1 parent a20fdd1 commit 3a51523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/vue-script-vuex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"body": [
4343
"actions: {",
4444
"\t${1:updateValue}({commit}, ${2:payload}) {",
45-
"\t\tcommit(${1:updateValue}, ${2:payload});",
45+
"\t\tcommit('${1:updateValue}', ${2:payload});",
4646
"\t}",
4747
"}"
4848
],

0 commit comments

Comments
 (0)