mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 10:39:17 -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
19
yarn.lock
19
yarn.lock
@@ -155,6 +155,7 @@ __metadata:
|
||||
"@rollup/plugin-inject": "npm:^5.0.5"
|
||||
"@swc/core": "npm:^1.15.8"
|
||||
"@swc/helpers": "npm:^0.5.18"
|
||||
"@tanstack/react-query": "npm:^5.90.5"
|
||||
"@testing-library/dom": "npm:10.4.1"
|
||||
"@testing-library/jest-dom": "npm:^6.9.1"
|
||||
"@testing-library/react": "npm:16.3.0"
|
||||
@@ -8490,6 +8491,24 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@tanstack/query-core@npm:5.90.7":
|
||||
version: 5.90.7
|
||||
resolution: "@tanstack/query-core@npm:5.90.7"
|
||||
checksum: 10/bb2a2caf1558c09276ab1e30ad343b31f56ba9421bb4319c1d5dd36efcb95fc2823dbe1eb7982e7aa76c1fbe48b8fecac7e465206c8d16886f552129c487c288
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@tanstack/react-query@npm:^5.90.5":
|
||||
version: 5.90.7
|
||||
resolution: "@tanstack/react-query@npm:5.90.7"
|
||||
dependencies:
|
||||
"@tanstack/query-core": "npm:5.90.7"
|
||||
peerDependencies:
|
||||
react: ^18 || ^19
|
||||
checksum: 10/d1461cfcaad90678d81c2ec1b5ff92cd54d4a08fed7710d67b01825d697e58951530954fdd59f344511da96bf001b218b25af60141683d54e4e279c7b16d3c6a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@testing-library/dom@npm:10.4.1":
|
||||
version: 10.4.1
|
||||
resolution: "@testing-library/dom@npm:10.4.1"
|
||||
|
||||
Reference in New Issue
Block a user