mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
react-async-hook library provides useAsyncCallback that does the same thing as useMutation
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
"react-hooks/exhaustive-deps": [
|
||||
"warn",
|
||||
{
|
||||
"additionalHooks": "useAsync"
|
||||
"additionalHooks": "(^useAsync$)"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -67,8 +67,9 @@
|
||||
"useState",
|
||||
"useAppSelector",
|
||||
"useAppDispatch",
|
||||
"useAsync",
|
||||
"useForm",
|
||||
"useMutation",
|
||||
"useAsyncCallback",
|
||||
"useCallback",
|
||||
"useEffect"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user