remove redundant code
This commit is contained in:
@@ -274,13 +274,7 @@ export function useReconciliationStatementPageBase() {
|
||||
displayAccountBalance = formatAmountToWesternArabicNumeralsWithoutDigitGrouping(transaction.accountClosingBalance);
|
||||
}
|
||||
|
||||
let description = transaction.comment || '';
|
||||
|
||||
if (fileType === KnownFileType.CSV) {
|
||||
description = replaceAll(description, ',', ' ');
|
||||
} else if (fileType === KnownFileType.TSV) {
|
||||
description = replaceAll(description, '\t', ' ');
|
||||
}
|
||||
const description = replaceAll(transaction.comment || '', separator, ' ');
|
||||
|
||||
return [
|
||||
formatDateTimeToGregorianDefaultDateTime(transactionTime),
|
||||
|
||||
Reference in New Issue
Block a user