Skip to content

Ensure only latest bank account shows default badge #4905

Ensure only latest bank account shows default badge

Ensure only latest bank account shows default badge #4905

Triggered via pull request November 6, 2024 20:13
Status Failure
Total duration 58s
Artifacts

lint-changed.yml

on: pull_request
Changed files ESLint check
50s
Changed files ESLint check
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Changed files ESLint check: src/ONYXKEYS.ts#L250
Expected space or tab before '*/' in comment
Changed files ESLint check: src/pages/settings/Wallet/PaymentMethodList.tsx#L415
Replace `filteredPaymentMethods,·item,·latestAddedBankAccountPlaidID,·invoiceTransferBankAccountID·?·invoiceTransferBankAccountID·===·item.methodID·:·item.isDefault` with `⏎····························filteredPaymentMethods,⏎····························item,⏎····························latestAddedBankAccountPlaidID,⏎····························invoiceTransferBankAccountID·?·invoiceTransferBankAccountID·===·item.methodID·:·item.isDefault,⏎························`
Changed files ESLint check
Process completed with exit code 1.
Changed files ESLint check: src/pages/settings/Wallet/PaymentMethodList.tsx#L432
React Hook useCallback has a missing dependency: 'latestAddedBankAccountPlaidID'. Either include it or remove the dependency array