From 674b516cde3c5ddfe6118c0a7696a877c59ec496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sim=C3=A3o?= Date: Tue, 24 Oct 2023 11:39:19 +0100 Subject: [PATCH] fix(Redeem): show premium redeem compensation (#1591) --- 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,