Skip to content

Commit 017dd65

Browse files
moroshkosophiebits
authored andcommitted
or => and (#1311)
1 parent ce27295 commit 017dd65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-state.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function ExampleWithManyStates() {
258258
const [todos, setTodos] = useState([{ text: 'Learn Hooks' }]);
259259
```
260260
261-
In the above component, we have `age`, `fruit`, or `todos` as local variables, and we can update them individually:
261+
In the above component, we have `age`, `fruit`, and `todos` as local variables, and we can update them individually:
262262
263263
```js
264264
function handleOrangeClick() {

0 commit comments

Comments
 (0)