Skip to content

Commit 99e97c3

Browse files
Merge pull request #1642 from adeelibr/grammer/correction-hooks-reference
Corrected grammar in hooks API reference
2 parents 87f5b7b + 4aa208e commit 99e97c3

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
@@ -199,7 +199,7 @@ function reducer(state, action) {
199199
}
200200
}
201201

202-
function Counter({initialCount}) {
202+
function Counter({initialState}) {
203203
const [state, dispatch] = useReducer(reducer, initialState);
204204
return (
205205
<>

0 commit comments

Comments
 (0)