Skip to content

Commit f3417b3

Browse files
committed
Fix react snippet
1 parent 98f968c commit f3417b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+web-react-mode/useState

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# name: useState
44
# key: useState
55
# --
6-
const [${1:state}, set${1:$(s-upper-camel-case yas-text)}] = setState(${2:initialState});
6+
const [${1:state}, set${1:$(s-upper-camel-case yas-text)}] = useState(${2:initialState});
77
$0

0 commit comments

Comments
 (0)