mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 06:03:01 -05:00
Move redux state to react-query - category states (#5977)
* Move redux state to react query - category states * Fix typecheck errors * Fix typecheck errors * Fix typecheck errors * Remove t argument * [autofix.ci] apply automated fixes * Coderabbot suggestion * Code review feedback * Fix type * Coderabbit * Delete useCategoryActions * Fix lint * Use categories from react query cache * Fix typecheck error * Update to use useDeleteCategoryGroupMutation * Coderabbit feedback * Break up useCategoryActions * [autofix.ci] apply automated fixes * Fix typecheck errors * Fix typecheck error * Fix typecheck error * await nested mutations * Await deleteCategory * Rename to sendThrow * Fix lint errors --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c57260a504
commit
7f6f4d5def
@@ -119,7 +119,7 @@
|
||||
"react/exhaustive-deps": [
|
||||
"warn",
|
||||
{
|
||||
"additionalHooks": "(useQuery|useEffectAfterMount)"
|
||||
"additionalHooks": "(^useQuery$|^useEffectAfterMount$)"
|
||||
}
|
||||
],
|
||||
"react/jsx-curly-brace-presence": "warn",
|
||||
|
||||
Reference in New Issue
Block a user