From df3ecb4a82073afcc46d41eb47d5ee1c7e752094 Mon Sep 17 00:00:00 2001 From: Radu Mojic Date: Tue, 20 Feb 2024 20:39:49 +0200 Subject: [PATCH] don't show both topup rows if equal values --- src/components/Tooltips/LockedStakeTooltip.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Tooltips/LockedStakeTooltip.tsx b/src/components/Tooltips/LockedStakeTooltip.tsx index 35f842edb..fef3db776 100644 --- a/src/components/Tooltips/LockedStakeTooltip.tsx +++ b/src/components/Tooltips/LockedStakeTooltip.tsx @@ -24,14 +24,14 @@ export const LockedStakeTooltip = ({ Staked:

)} - {topUp !== undefined && ( + {topUp !== undefined && !(showAuctionTopup && topUp === auctionTopUp) && (

Top Up:

)} {auctionTopUp !== undefined && showAuctionTopup && (

- Auction Qualified Top Up:{' '} + Qualified Top Up:{' '}

)}