From 00fe140b5a486c287a8789bafea1c1bc80e7c32a Mon Sep 17 00:00:00 2001 From: Tom Quirk <12551741+tomquirk@users.noreply.github.com> Date: Mon, 4 Sep 2023 14:00:44 +0200 Subject: [PATCH] fix: redeeming tokens < 0 --- .../AccountBalanceDescription/V2V3BurnOrRedeemModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/v2v3/V2V3Project/V2V3ManageTokensSection/AccountBalanceDescription/V2V3BurnOrRedeemModal.tsx b/src/components/v2v3/V2V3Project/V2V3ManageTokensSection/AccountBalanceDescription/V2V3BurnOrRedeemModal.tsx index 16f412c8d3..a76107dab0 100644 --- a/src/components/v2v3/V2V3Project/V2V3ManageTokensSection/AccountBalanceDescription/V2V3BurnOrRedeemModal.tsx +++ b/src/components/v2v3/V2V3Project/V2V3ManageTokensSection/AccountBalanceDescription/V2V3BurnOrRedeemModal.tsx @@ -206,7 +206,7 @@ export function V2V3BurnOrRedeemModal({ okText={modalTitle} okButtonProps={{ disabled: - !redeemAmount || parseInt(redeemAmount) === 0 || !checkedLegal, + !redeemAmount || parseFloat(redeemAmount) === 0 || !checkedLegal, }} width={540} centered