diff --git a/packages/p2p/src/components/buy-sell/buy-sell-form-receive-amount.jsx b/packages/p2p/src/components/buy-sell/buy-sell-form-receive-amount.jsx index b3616ce69a0b..29f55f04b6c0 100644 --- a/packages/p2p/src/components/buy-sell/buy-sell-form-receive-amount.jsx +++ b/packages/p2p/src/components/buy-sell/buy-sell-form-receive-amount.jsx @@ -1,6 +1,6 @@ import React from 'react'; import { Text } from '@deriv/components'; -import { formatMoney } from '@deriv/shared'; +import { getFormattedText } from '@deriv/shared'; import { Localize } from 'Components/i18next'; import { roundOffDecimal } from 'Utils/format-value.js'; import { useStores } from 'Stores'; @@ -18,12 +18,10 @@ const BuySellFormReceiveAmount = () => { )} - {formatMoney( - buy_sell_store?.advert?.local_currency, + {getFormattedText( roundOffDecimal(buy_sell_store?.receive_amount), - true - )}{' '} - {buy_sell_store?.advert?.local_currency} + buy_sell_store?.advert?.local_currency + )} );