From f1147c3ca2af42717db744566142414c1ac7c50f Mon Sep 17 00:00:00 2001 From: IF <139582705+infiniteflower@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:32:21 -0500 Subject: [PATCH] fix: hide you received until bridge tx done --- .../transaction-details.tsx | 35 ++++++++++--------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/ui/pages/bridge/transaction-details/transaction-details.tsx b/ui/pages/bridge/transaction-details/transaction-details.tsx index 762e2c1218d9..ad8e0566b5f3 100644 --- a/ui/pages/bridge/transaction-details/transaction-details.tsx +++ b/ui/pages/bridge/transaction-details/transaction-details.tsx @@ -397,22 +397,25 @@ const CrossChainSwapTxDetails = () => { } /> - - {t('bridgeTxDetailsTokenAmountOnChain', [ - bridgeAmountReceived, - bridgeHistoryItem?.quote.destAsset.symbol, - ])} - {destNetworkIconName} - - } - /> + {bridgeAmountReceived && + bridgeHistoryItem?.quote.destAsset.symbol && ( + + {t('bridgeTxDetailsTokenAmountOnChain', [ + bridgeAmountReceived, + bridgeHistoryItem.quote.destAsset.symbol, + ])} + {destNetworkIconName} + + } + /> + )}