From 0e84f9a4e985729754c39181f03ccc82fad4726a Mon Sep 17 00:00:00 2001 From: ameerul-deriv <103412909+ameerul-deriv@users.noreply.github.com> Date: Tue, 7 Feb 2023 14:28:55 +0800 Subject: [PATCH] Ameerul /Task 74218 Incorrect Deriv P2P Balance Information (#7491) * chore: added info icon and corrected information * chore: fixed modal for mobile and icon * chore: changed text --- .../my-profile-balance/my-profile-balance.jsx | 31 +++++++++++-------- .../my-profile-balance.scss | 14 ++++++++- 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/packages/p2p/src/components/my-profile/my-profile-stats/my-profile-balance/my-profile-balance.jsx b/packages/p2p/src/components/my-profile/my-profile-stats/my-profile-balance/my-profile-balance.jsx index 027e8a8c75d0..689b73cd1c89 100644 --- a/packages/p2p/src/components/my-profile/my-profile-stats/my-profile-balance/my-profile-balance.jsx +++ b/packages/p2p/src/components/my-profile/my-profile-stats/my-profile-balance/my-profile-balance.jsx @@ -1,43 +1,48 @@ import * as React from 'react'; -import { Money, Text } from '@deriv/components'; +import { Button, Icon, Modal, Money, Text } from '@deriv/components'; import { isMobile } from '@deriv/shared'; import { observer } from 'mobx-react-lite'; -import { Localize } from 'Components/i18next'; +import { Localize, localize } from 'Components/i18next'; import { useStores } from 'Stores'; const MyProfileBalance = () => { const { general_store } = useStores(); - // const [is_balance_tooltip_open, setIsBalanceTooltipOpen] = React.useState(false); + const [is_balance_tooltip_open, setIsBalanceTooltipOpen] = React.useState(false); return (
- {/* - TODO: Uncomment when design is updated - - - + + +