diff --git a/content/docs/hooks-reference.md b/content/docs/hooks-reference.md index dac51b17..deeef54c 100644 --- a/content/docs/hooks-reference.md +++ b/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 ( <>