Skip to content

Commit

Permalink
Update VestingPaymentCard.tsx
Browse files Browse the repository at this point in the history
For issue #1445
  • Loading branch information
rishav-karanjit authored Nov 8, 2023
1 parent 9a3cdea commit d9fa599
Showing 1 changed file with 0 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,44 +483,6 @@ export const VestingPaymentCard = ({
</div>
)}

<div className="flex flex-row items-start justify-between gap-8">
<p className="link-text">{t('title.claimedBalance')}</p>

{/* leading-5 to match link-text's line-height. */}
<div className="caption-text flex flex-col items-end gap-1 text-right font-mono">
{/* leading-5 to match link-text's line-height. */}
<TokenAmountDisplay
amount={claimedAmount}
className="leading-5 text-text-body"
decimals={token.decimals}
symbol={token.symbol}
/>

{!isNativeIbcUsdc(token.chainId, token.denomOrAddress) &&
(lazyInfo.loading || lazyInfo.data.usdUnitPrice) && (
<div className="flex flex-row items-center gap-1">
<TokenAmountDisplay
amount={
lazyInfo.loading
? { loading: true }
: claimedAmount * lazyInfo.data.usdUnitPrice!.amount
}
dateFetched={
lazyInfo.loading
? undefined
: lazyInfo.data.usdUnitPrice!.timestamp
}
estimatedUsdValue
/>

<TooltipInfoIcon
size="xs"
title={t('info.estimatedUsdValueTooltip')}
/>
</div>
)}
</div>
</div>
</div>

{!lazyInfo.loading &&
Expand Down

0 comments on commit d9fa599

Please sign in to comment.