Skip to content

Commit

Permalink
Revert "Add useState semicolon (#5823)" (#6543)
Browse files Browse the repository at this point in the history
This reverts commit e18bb3b.
  • Loading branch information
rickhanlonii authored Jan 10, 2024
1 parent 983bda9 commit 9d8c5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useState.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: useState
`useState` is a React Hook that lets you add a [state variable](/learn/state-a-components-memory) to your component.

```js
const [state, setState] = useState(initialState);
const [state, setState] = useState(initialState)
```

</Intro>
Expand Down

0 comments on commit 9d8c5ad

Please sign in to comment.