Skip to content

Commit 9d8c5ad

Browse files
authored
Revert "Add useState semicolon (#5823)" (#6543)
This reverts commit e18bb3b.
1 parent 983bda9 commit 9d8c5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useState.md

+1-1
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)