Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b9304d1

Browse files
Nick-HKDamian Sznajder
authored and
Damian Sznajder
committed
Need to improve the code snippet of useDispatch #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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /