Skip to content

Commit 2ba9924

Browse files
bmwadforthtimdorr
authored andcommitted
Removing redundant code comment. Comment referenced a hook that no longer exists (useActions). (#1324)
1 parent b19f6c8 commit 2ba9924

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hooks/useDispatch.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { useStore } from './useStore'
22

33
/**
4-
* A hook to access the redux `dispatch` function. Note that in most cases where you
5-
* might want to use this hook it is recommended to use `useActions` instead to bind
6-
* action creators to the `dispatch` function.
4+
* A hook to access the redux `dispatch` function.
75
*
86
* @returns {any|function} redux store's `dispatch` function
97
*

0 commit comments

Comments
 (0)