remove redundant code

This commit is contained in:
MaysWind
2026-01-22 23:06:25 +08:00
parent 0d9e59dad9
commit 5d801a2343
@@ -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),