Browse Source
Merge pull request #1642 from adeelibr/grammer/correction-hooks-reference
Corrected grammar in hooks API reference
main
Saransh Kataria
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/hooks-reference.md
|
|
@ -199,7 +199,7 @@ function reducer(state, action) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function Counter({initialCount}) { |
|
|
|
function Counter({initialState}) { |
|
|
|
const [state, dispatch] = useReducer(reducer, initialState); |
|
|
|
return ( |
|
|
|
<> |
|
|
|