diff --git a/src/entities/transaction/ui/section/important-info-section.tsx b/src/entities/transaction/ui/section/important-info-section.tsx index 64c8c9b..c69d5fe 100644 --- a/src/entities/transaction/ui/section/important-info-section.tsx +++ b/src/entities/transaction/ui/section/important-info-section.tsx @@ -1,6 +1,5 @@ import moment from 'moment'; import { useTranslation } from 'react-i18next'; -import { NumericFormat } from 'react-number-format'; import { InfoSectionProps, TransactionCategory } from '../../model/types'; import { useStore } from '@/shared/model/store'; import { getAllTransactionStatusCode } from '../../model/contant'; @@ -126,12 +125,7 @@ export const ImportantInfoSection = ({ newImportantInfo[k] } { (checkValue(newImportantInfo[k]) && subItems[k]?.type === 'number') && - + t('home.money', { value: new Intl.NumberFormat('en-US').format(newImportantInfo[k] || 0) }) } { (checkValue(newImportantInfo[k]) && subItems[k]?.type === 'date') && moment(newImportantInfo[k]).format('YYYY.MM.DD')