Skip to content

Commit aefc520

Browse files
madeinfreetimdorr
authored andcommitted
Fix example typo (#1250)
Fixed example typo `useReduxDispatch => useDispatch`
1 parent cf24fc8 commit aefc520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ This hook returns a reference to the `dispatch` function from the Redux store. Y
192192

193193
```jsx
194194
import React, { useCallback } from 'react'
195-
import { useReduxDispatch } from 'react-redux'
195+
import { useDispatch } from 'react-redux'
196196

197197
export const CounterComponent = ({ value }) => {
198198
const dispatch = useDispatch()

0 commit comments

Comments
 (0)