Skip to content

Commit 9386ba9

Browse files
Merge branch 'master' of https://github.com/reactjs/reactjs.org into sync-59c3c0a1
2 parents fc90037 + 59c3c0a commit 9386ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function Counter({initialCount}) {
6767
}
6868
```
6969

70-
The "+" and "-" buttons use the functional form, because the updated value is based on the previous value. But the "Reset" button uses the normal form, because it always sets the count back to 0.
70+
The "+" and "-" buttons use the functional form, because the updated value is based on the previous value. But the "Reset" button uses the normal form, because it always sets the count back to the initial value.
7171

7272
> Note
7373
>

0 commit comments

Comments
 (0)