Fix rendering issue

Addresses a problem where the screen was not rendering correctly.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 10:27:42 +00:00
parent f22e99ecef
commit cc0af1aee0
3 changed files with 8 additions and 4 deletions

View File

@@ -7,11 +7,12 @@ interface TransactionAmountProps {
}
const TransactionAmount: React.FC<TransactionAmountProps> = ({ amount }) => {
// 금액을 한국 통화 형식으로 포맷팅 (소수점 제거)
const formattedAmount = new Intl.NumberFormat('ko-KR', {
style: 'currency',
currency: 'KRW',
maximumFractionDigits: 0
}).format(amount);
}).format(Math.abs(amount));
return (
<div className="flex items-center gap-1">