From 2b915fd0aa4e885248b3ea5995a5985ce11d5955 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Fri, 4 Mar 2022 13:31:40 +0000 Subject: [PATCH] show locked balance if using locked pool --- nym-wallet/src/pages/bond/SuccessView.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nym-wallet/src/pages/bond/SuccessView.tsx b/nym-wallet/src/pages/bond/SuccessView.tsx index c2120288f5..ef8ada8961 100644 --- a/nym-wallet/src/pages/bond/SuccessView.tsx +++ b/nym-wallet/src/pages/bond/SuccessView.tsx @@ -2,15 +2,22 @@ import React, { useContext } from 'react' import { Box } from '@mui/system' import { SuccessReponse, TransactionDetails } from '../../components' import { ClientContext } from '../../context/main' +import { useCheckOwnership } from '../../hooks/useCheckOwnership' export const SuccessView: React.FC<{ details?: { amount: string; address: string } }> = ({ details }) => { const { userBalance, currency } = useContext(ClientContext) + const { ownership } = useCheckOwnership() + return ( <> {details && (