From 33f07a4f82703cf7c301eb8eeb74623e1a4660e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rui=20Sim=C3=A3o?= Date: Tue, 24 Oct 2023 10:22:35 +0100 Subject: [PATCH] fix(Redeem): show premium redeem compensation --- src/pages/BTC/BTCOverview/components/RedeemForm/RedeemForm.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/BTC/BTCOverview/components/RedeemForm/RedeemForm.tsx b/src/pages/BTC/BTCOverview/components/RedeemForm/RedeemForm.tsx index 5218e0f917..8c5cbd6051 100644 --- a/src/pages/BTC/BTCOverview/components/RedeemForm/RedeemForm.tsx +++ b/src/pages/BTC/BTCOverview/components/RedeemForm/RedeemForm.tsx @@ -249,8 +249,7 @@ const RedeemForm = ({ ? convertMonetaryAmountToValueInUSD(totalAmount, getTokenPrice(prices, totalAmount.currency.ticker)?.usd) || 0 : 0; - const compensationAmount = - monetaryAmount.isZero() && isPremiumRedeem ? getCompensationAmount(monetaryAmount) : undefined; + const compensationAmount = isPremiumRedeem ? getCompensationAmount(monetaryAmount) : undefined; const compensationAmountUSD = compensationAmount ? convertMonetaryAmountToValueInUSD( compensationAmount,