diff --git a/src/entities/settlement/ui/detail/settlement-detail.tsx b/src/entities/settlement/ui/detail/settlement-detail.tsx index b465c09..d6605ba 100644 --- a/src/entities/settlement/ui/detail/settlement-detail.tsx +++ b/src/entities/settlement/ui/detail/settlement-detail.tsx @@ -39,7 +39,7 @@ export const SettlementDetail = ({ settlementId, tid }: SettlementDetailProps) => { - const { t, i18n } = useTranslation(); + const { t } = useTranslation(); const [amountInfo, setAmountInfo] = useState(); const [settlementInfo, setSettlementInfo] = useState(); @@ -69,7 +69,7 @@ export const SettlementDetail = ({ setSettlementDate(rs.settlementDate); } else{ - snackBar('데이터가 존재하지 않습니다.'); + snackBar(t('common.noData')); onClickToClose(); } }).catch((e: any) => { @@ -144,13 +144,9 @@ export const SettlementDetail = ({
- {i18n.language === 'en' && {t('home.currencySymbol')}} - - {i18n.language !== 'en' && {t('home.currencyWon')}} + {t('home.money', { + value: settlementAmount?.toLocaleString() + })}
{ moment(settlementDate).format('YYYY.MM.DD') }
@@ -160,13 +156,9 @@ export const SettlementDetail = ({
- {i18n.language === 'en' && {t('home.currencySymbol')}} - - {i18n.language !== 'en' && {t('home.currencyWon')}} + {t('home.money', { + value: transactionAmount?.toLocaleString() + })}
{ merchantName }