Skip to content

Commit b9304d1

Browse files
Nick-HKDamian Sznajder
authored and
Damian Sznajder
committed
Need to improve the code snippet of useDispatch r5n-labs#189
1 parent 437570c commit b9304d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/snippets.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@
15421542
},
15431543
"useDispatch": {
15441544
"prefix": "useDispatch",
1545-
"body": ["const dispatch = useDispatch(${1:function})"]
1545+
"body": ["const dispatch = useDispatch()"]
15461546
},
15471547
"typeof": {
15481548
"prefix": "tpf",

0 commit comments

Comments
 (0)