From de33dc0a2b3c5a964b71c840a7d6e0e9acd79274 Mon Sep 17 00:00:00 2001 From: ameerul hady Date: Thu, 2 Feb 2023 14:30:20 +0800 Subject: [PATCH 1/3] chore: added info icon and corrected information --- .../my-profile-balance/my-profile-balance.jsx | 27 +++++++++++-------- .../my-profile-balance.scss | 10 ++++++- 2 files changed, 25 insertions(+), 12 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..d643fef93795 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,21 +1,25 @@ 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 - - - + + +