Skip to content

Commit c5291ec

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-reference.md

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