Ensure only latest bank account shows default badge #4905
lint-changed.yml
on: pull_request
Changed files ESLint check
50s
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
|