Fix rendering issue
Addresses a problem where the screen was not rendering correctly.
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user