[Object Object] 표시 오류 수정: Intl.NumberFormat 사용
This commit is contained in:
@@ -557,7 +557,7 @@ export const ListItem = ({
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.KeyInPayment) {
|
||||
rs.push(
|
||||
<div className="transaction-amount">
|
||||
{t('home.money', { value: <NumericFormat value={amount} thousandSeparator displayType="text" /> })}
|
||||
{t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -566,7 +566,7 @@ export const ListItem = ({
|
||||
) {
|
||||
rs.push(
|
||||
<div className="transaction-amount">
|
||||
{t('home.money', { value: <NumericFormat value={amount} thousandSeparator displayType="text" /> })}
|
||||
{t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -576,7 +576,7 @@ export const ListItem = ({
|
||||
key="payout-item-amount"
|
||||
className="transaction-amount"
|
||||
>
|
||||
{t('home.money', { value: <NumericFormat value={amount} thousandSeparator displayType="text" /> })}
|
||||
{t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -588,7 +588,7 @@ export const ListItem = ({
|
||||
key="fund-account-transfer-amount"
|
||||
className="transaction-amount"
|
||||
>
|
||||
{t('home.money', { value: <NumericFormat value={amount} thousandSeparator displayType="text" /> })}
|
||||
{t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -598,7 +598,7 @@ export const ListItem = ({
|
||||
key="payout-item-amount"
|
||||
className="transaction-amount"
|
||||
>
|
||||
{t('home.money', { value: <NumericFormat value={amount} thousandSeparator displayType="text" /> })}
|
||||
{t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user