From edb33076101734c2126f1f810e945c08ac09bbd6 Mon Sep 17 00:00:00 2001 From: jorbuedo Date: Mon, 23 Sep 2024 16:46:45 +0200 Subject: [PATCH] portfolio balance card touch to list --- .../PortfolioDashboard/BalanceCard/BalanceCardContent.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/wallet-mobile/src/features/Portfolio/useCases/PortfolioDashboard/BalanceCard/BalanceCardContent.tsx b/apps/wallet-mobile/src/features/Portfolio/useCases/PortfolioDashboard/BalanceCard/BalanceCardContent.tsx index 8c87058876..7a65980aaf 100644 --- a/apps/wallet-mobile/src/features/Portfolio/useCases/PortfolioDashboard/BalanceCard/BalanceCardContent.tsx +++ b/apps/wallet-mobile/src/features/Portfolio/useCases/PortfolioDashboard/BalanceCard/BalanceCardContent.tsx @@ -9,6 +9,7 @@ import {Spacer} from '../../../../../components/Spacer/Spacer' import {useCurrencyPairing} from '../../../../Settings/Currency/CurrencyContext' import {usePrivacyMode} from '../../../../Settings/PrivacyMode/PrivacyMode' import {formatPriceChange, priceChange} from '../../../common/helpers/priceChange' +import {useNavigateTo} from '../../../common/hooks/useNavigateTo' import {PnlTag} from '../../../common/PnlTag/PnlTag' type Props = { @@ -17,6 +18,7 @@ type Props = { } export const BalanceCardContent = ({amount, headerCard}: Props) => { + const navigationTo = useNavigateTo() const {styles} = useStyles() const {isPrivacyActive, setPrivacyModeOff, setPrivacyModeOn} = usePrivacyMode() @@ -36,7 +38,7 @@ export const BalanceCardContent = ({amount, headerCard}: Props) => { } return ( - + {headerCard} @@ -58,7 +60,7 @@ export const BalanceCardContent = ({amount, headerCard}: Props) => { - + ) }