통화 표기 방식 개선: t('home.money', { value }) 패턴으로 통일

This commit is contained in:
Jay Sheen
2025-10-30 09:38:47 +09:00
parent 133aa44dff
commit 3dbd6b4dda
19 changed files with 49 additions and 331 deletions

View File

@@ -65,15 +65,7 @@ export const ListItem = ({
}
</div>
<div className="transaction-amount">
{
<NumericFormat
value={ settlementAmount || transactionAmount }
thousandSeparator
displayType="text"
prefix={i18n.language === 'en' ? t('home.currencySymbol') : ''}
suffix={i18n.language === 'en' ? '' : t('home.currencyWon')}
></NumericFormat>
}
{t('home.money', { value: <NumericFormat value={ settlementAmount || transactionAmount } thousandSeparator displayType="text" /> })}
</div>
</div>
</>