From 2bae5fa6a5117c3160396c786647e33778006164 Mon Sep 17 00:00:00 2001 From: Zach Whelchel Date: Thu, 9 Nov 2023 15:49:18 -0500 Subject: [PATCH] Lint cleanup. --- .../src/components/accounts/Account.js | 14 +++++++++++--- .../components/transactions/MobileTransaction.js | 2 +- .../components/transactions/TransactionsTable.js | 3 ++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/packages/desktop-client/src/components/accounts/Account.js b/packages/desktop-client/src/components/accounts/Account.js index 4b042464245..152e8c5d563 100644 --- a/packages/desktop-client/src/components/accounts/Account.js +++ b/packages/desktop-client/src/components/accounts/Account.js @@ -910,7 +910,11 @@ class AccountInternal extends PureComponent { await this.refetchTransactions(); }; - await this.checkForReconciledTransactions(ids, 'batchDuplicateWithReconciled', onConfirmDuplicate); + await this.checkForReconciledTransactions( + ids, + 'batchDuplicateWithReconciled', + onConfirmDuplicate, + ); }; onBatchDelete = async ids => { @@ -958,7 +962,11 @@ class AccountInternal extends PureComponent { await this.refetchTransactions(); }; - await this.checkForReconciledTransactions(ids, 'batchDeleteWithReconciled', onConfirmDelete); + await this.checkForReconciledTransactions( + ids, + 'batchDeleteWithReconciled', + onConfirmDelete, + ); }; checkForReconciledTransactions = async (ids, confirmReason, onConfirm) => { @@ -979,7 +987,7 @@ class AccountInternal extends PureComponent { } else { onConfirm(ids); } - } + }; onBatchUnlink = async ids => { await send('transactions-batch-update', { diff --git a/packages/desktop-client/src/components/transactions/MobileTransaction.js b/packages/desktop-client/src/components/transactions/MobileTransaction.js index ecd276a67f6..064e39c7cdf 100644 --- a/packages/desktop-client/src/components/transactions/MobileTransaction.js +++ b/packages/desktop-client/src/components/transactions/MobileTransaction.js @@ -615,7 +615,7 @@ class TransactionEditInner extends PureComponent { disabled /> - ) : ( + ) : (