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
parent
commit
99e97c33ae
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/hooks-reference.md

2
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 (
<>

Loading…
Cancel
Save