diff --git a/src/entities/transaction/ui/section/settlement-info-section.tsx b/src/entities/transaction/ui/section/settlement-info-section.tsx index 8f06568..d52dd31 100644 --- a/src/entities/transaction/ui/section/settlement-info-section.tsx +++ b/src/entities/transaction/ui/section/settlement-info-section.tsx @@ -1,6 +1,5 @@ import moment from 'moment'; import { useTranslation } from 'react-i18next'; -import { NumericFormat } from 'react-number-format'; import { SectionTitleArrow } from '@/entities/common/ui/section-title-arrow'; import { InfoSectionKeys, InfoSectionProps, TransactionCategory } from '../../model/types'; import { SlideDown } from 'react-slidedown'; @@ -74,12 +73,7 @@ export const SettlementInfoSection = ({ newSettlementInfo[k] } { (checkValue(newSettlementInfo[k]) && subItems[k]?.type === 'number') && - + t('home.money', { value: new Intl.NumberFormat('en-US').format(newSettlementInfo[k] || 0) }) } { (checkValue(newSettlementInfo[k]) && subItems[k]?.type === 'date') && moment(newSettlementInfo[k]).format('YYYY.MM.DD') @@ -124,12 +118,7 @@ export const SettlementInfoSection = ({
  • ·  {t('transaction.fields.approvalSettlementAmount')} - + {t('home.money', { value: new Intl.NumberFormat('en-US').format(settlementInfo?.approvalSettlementAmount || 0) })}
  • @@ -139,12 +128,7 @@ export const SettlementInfoSection = ({
  • ·  {t('transaction.fields.cancelSettlementAmount')} - + {t('home.money', { value: new Intl.NumberFormat('en-US').format(settlementInfo?.cancelSettlementAmount || 0) })}