diff --git a/content/docs/hooks-reference.md b/content/docs/hooks-reference.md index 24145eac..7a91e925 100644 --- a/content/docs/hooks-reference.md +++ b/content/docs/hooks-reference.md @@ -226,7 +226,7 @@ function reducer(state, action) { } } -function Counter({initialState}) { +function Counter() { const [state, dispatch] = useReducer(reducer, initialState); return ( <>