Skip to content

Commit 6e3a73a

Browse files
authored
Fix typo
1 parent 21bcc3b commit 6e3a73a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/useGetSetState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const Demo = () => {
1313
const onClick = () => {
1414
setTimeout(() => {
1515
setState({cnt: get().cnt + 1})
16-
}, 1_000);
16+
}, 1000);
1717
};
1818

1919
return (

0 commit comments

Comments
 (0)