Skip to content

Commit cc70781

Browse files
rickhanloniineighborhood999
authored andcommitted
Revert "Add useState semicolon (#5823)" (#6543)
This reverts commit e18bb3b.
1 parent 6267f25 commit cc70781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: useState
77
`useState` is a React Hook that lets you add a [state variable](/learn/state-a-components-memory) to your component.
88

99
```js
10-
const [state, setState] = useState(initialState);
10+
const [state, setState] = useState(initialState)
1111
```
1212

1313
</Intro>

0 commit comments

Comments
 (0)