style: align multiline ternary operators

This commit is contained in:
2026-09-28 16:37:01 +03:00
committed by ksv741
parent b78c215ff1
commit 183b7f1efd
54 changed files with 986 additions and 982 deletions
@@ -81,13 +81,13 @@ export function bankSummary(
continue;
}
const expense =
operation.kind === BankOperationKind.Expense ?
operation.amountKopecks :
ZERO_KOPECKS;
operation.kind === BankOperationKind.Expense
? operation.amountKopecks
: ZERO_KOPECKS;
const refund =
operation.kind === BankOperationKind.Refund ?
operation.amountKopecks :
ZERO_KOPECKS;
operation.kind === BankOperationKind.Refund
? operation.amountKopecks
: ZERO_KOPECKS;
expenses += expense;
refunds += refund;
if (operation.categoryId !== null) {