diff --git a/src/entities/settlement/ui/list-summary-extend-settlement.tsx b/src/entities/settlement/ui/list-summary-extend-settlement.tsx index 308b9b9..4aeca3a 100644 --- a/src/entities/settlement/ui/list-summary-extend-settlement.tsx +++ b/src/entities/settlement/ui/list-summary-extend-settlement.tsx @@ -20,31 +20,31 @@ export const ListSummaryExtendSettlement = ({
  • {t('settlement.transactionAmount')} - {t('home.money', { value: new Intl.NumberFormat('en-US').format(transactionAmount) })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(transactionAmount || 0) })}
  • {t('settlement.totalPgFee')} - {t('home.money', { value: new Intl.NumberFormat('en-US').format(pgFeeAmount) })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(pgFeeAmount || 0) })}
  • {t('settlement.hold')} - {t('home.money', { value: new Intl.NumberFormat('en-US').format(holdAmount) })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(holdAmount || 0) })}
  • {t('settlement.release')} - {t('home.money', { value: new Intl.NumberFormat('en-US').format(releaseAmount) })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(releaseAmount || 0) })}
  • {t('settlement.offset')} - {t('home.money', { value: new Intl.NumberFormat('en-US').format(offsetAmount) })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(offsetAmount || 0) })}
  • diff --git a/src/pages/transaction/all-transaction/list-page.tsx b/src/pages/transaction/all-transaction/list-page.tsx index 6680d2c..2a8ba21 100644 --- a/src/pages/transaction/all-transaction/list-page.tsx +++ b/src/pages/transaction/all-transaction/list-page.tsx @@ -1,7 +1,6 @@ import moment from 'moment'; import { useStore } from '@/shared/model/store'; import { ChangeEvent, useEffect, useState } from 'react'; -import { NumericFormat } from 'react-number-format'; import { IMAGE_ROOT } from '@/shared/constants/common'; import { PATHS } from '@/shared/constants/paths'; import { useNavigate } from '@/shared/lib/hooks/use-navigate'; @@ -294,14 +293,7 @@ export const AllTransactionListPage = () => {
    {t('transaction.transactionCount')} - { t('transaction.total') + ' '} - + {t('transaction.total')} {t('home.count', { value: new Intl.NumberFormat('en-US').format(totalCount || 0) })}