[Object Object] 표시 오류 수정: Intl.NumberFormat 사용
This commit is contained in:
@@ -47,7 +47,7 @@ export const TitleInfoWrap = ({
|
||||
<>
|
||||
<div className="num-amount">
|
||||
<span className="amount-text">
|
||||
{t('home.money', { value: <NumericFormat value={titleInfo?.amount} thousandSeparator displayType="text" /> })}
|
||||
{t('home.money', { value: new Intl.NumberFormat('en-US').format(titleInfo?.amount || 0) })}
|
||||
</span>
|
||||
</div>
|
||||
<div className="num-store">{titleInfo?.corpName}</div>
|
||||
@@ -59,7 +59,7 @@ export const TitleInfoWrap = ({
|
||||
<>
|
||||
<div className="num-amount">
|
||||
<span className="amount-text">
|
||||
{t('home.money', { value: <NumericFormat value={titleInfo?.amount} thousandSeparator displayType="text" /> })}
|
||||
{t('home.money', { value: new Intl.NumberFormat('en-US').format(titleInfo?.amount || 0) })}
|
||||
</span>
|
||||
</div>
|
||||
<div className="num-store">{titleInfo?.corpName}</div>
|
||||
|
||||
Reference in New Issue
Block a user