Skip to content

Commit

Permalink
Lint cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwhelchel committed Nov 9, 2023
1 parent 2a0d634 commit 2bae5fa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
14 changes: 11 additions & 3 deletions packages/desktop-client/src/components/accounts/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down Expand Up @@ -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) => {
Expand All @@ -979,7 +987,7 @@ class AccountInternal extends PureComponent {
} else {
onConfirm(ids);
}
}
};

onBatchUnlink = async ids => {
await send('transactions-batch-update', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ class TransactionEditInner extends PureComponent {
disabled
/>
</View>
) : (
) : (
<View style={{ marginLeft: 0, marginRight: 8 }}>
<FieldLabel title="Cleared" />
<BooleanField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,8 @@ const Transaction = memo(function Transaction(props) {
setPrevShowZero(showZeroInDeposit);
}

let [showReconciliationWarning, setShowReconciliationWarning] = useState(false);
let [showReconciliationWarning, setShowReconciliationWarning] =
useState(false);

function onUpdate(name, value) {
// Had some issues with this is called twice which is a problem now that we are showing a warning
Expand Down

0 comments on commit 2bae5fa

Please sign in to comment.