Browse Source

updated grammer

main
adeel.imran 6 years ago
parent
commit
4aa208e59d
  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