Skip to content

Commit

Permalink
Fix example typo (#1250)
Browse files Browse the repository at this point in the history
Fixed example typo `useReduxDispatch => useDispatch`
  • Loading branch information
madeinfree authored and timdorr committed Apr 22, 2019
1 parent cf24fc8 commit aefc520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/hooks.md
Expand Up @@ -192,7 +192,7 @@ This hook returns a reference to the `dispatch` function from the Redux store. Y

```jsx
import React, { useCallback } from 'react'
import { useReduxDispatch } from 'react-redux'
import { useDispatch } from 'react-redux'

export const CounterComponent = ({ value }) => {
const dispatch = useDispatch()
Expand Down

0 comments on commit aefc520

Please sign in to comment.