Skip to content

Commit 8605088

Browse files
vramanamarkerikson
authored andcommitted
Replace suggestion to use useActions with useDispatch (#1277)
1 parent b4d6ac3 commit 8605088

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
@@ -116,7 +116,7 @@ export function useActions(actions, deps) {
116116

117117
This hook was removed in `v7.1.0-alpha.3`, on the grounds that it didn't provide any real benefit.
118118

119-
If you were using it in your own code, please replace that with separate calls to `useSelector()` and `useActions()`.
119+
If you were using it in your own code, please replace that with separate calls to `useSelector()` and `useDispatch()`.
120120

121121
## `useDispatch()`
122122

0 commit comments

Comments
 (0)