Skip to content

Migrate Account component to a functional component and use the new useTransactions hook #10784

Migrate Account component to a functional component and use the new useTransactions hook

Migrate Account component to a functional component and use the new useTransactions hook #10784

Triggered via pull request October 21, 2024 16:15
Status Failure
Total duration 2m 30s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 9 warnings
lint
Process completed with exit code 1.
lint: packages/desktop-client/src/components/accounts/Account.tsx#L1719
'schedulesQueryBuilder' is assigned a value but never used. Allowed unused vars must match /^(_|React)/u
lint: packages/desktop-client/src/components/accounts/Balance.jsx#L1
'useEffect' is defined but never used. Allowed unused vars must match /^(_|React)/u
lint: packages/desktop-client/src/components/accounts/Balance.jsx#L1
'useState' is defined but never used. Allowed unused vars must match /^(_|React)/u
lint: packages/desktop-client/src/components/accounts/Balance.jsx#L20
There should be at least one empty line between import groups
lint: packages/desktop-client/src/components/accounts/Balance.jsx#L21
`loot-core/client/query-helpers` import should occur before import of `loot-core/shared/transactions`
lint: packages/desktop-client/src/components/accounts/Balance.jsx#L21
'runQuery' is defined but never used. Allowed unused vars must match /^(_|React)/u
lint: packages/desktop-client/src/hooks/usePreviewTransactions.ts#L19
exported declaration 'usePreviewTransactions' not used within other modules
lint: packages/desktop-client/src/hooks/useSelected.tsx#L51
exported declaration 'Actions' not used within other modules
lint: packages/loot-core/src/client/data-hooks/transactions.ts#L199
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead