From 9813d6cbd03c0351674107f19b1fdff446087038 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Fri, 24 Jan 2025 08:20:39 -0800 Subject: [PATCH] Redeem for usd comes first --- .../cashout/select-cashout-options.tsx | 97 +++++++++---------- 1 file changed, 48 insertions(+), 49 deletions(-) diff --git a/web/components/cashout/select-cashout-options.tsx b/web/components/cashout/select-cashout-options.tsx index 218b836a12..3b4f6555ab 100644 --- a/web/components/cashout/select-cashout-options.tsx +++ b/web/components/cashout/select-cashout-options.tsx @@ -161,6 +161,54 @@ function CashoutOptionsContent(props: { const hasNoRedeemableCash = redeemableCash === 0 return ( + + + + + {!TWOMBA_CASHOUT_ENABLED && ( +
+ Cashouts should be enabled in less than a week +
+ )} + + + {noHasMinRedeemableCash && !allDisabled ? ( + + You need at least{' '} + {' '} + to redeem + + ) : null} + + + + ${((1 - CHARITY_FEE) * redeemableCash).toFixed(2)} + {' '} + value + + + +
@@ -236,55 +284,6 @@ function CashoutOptionsContent(props: { )} - - - - - - {!TWOMBA_CASHOUT_ENABLED && ( -
- Cashouts should be enabled in less than a week -
- )} - - - {noHasMinRedeemableCash && !allDisabled ? ( - - You need at least{' '} - {' '} - to redeem - - ) : null} - - - - ${((1 - CHARITY_FEE) * redeemableCash).toFixed(2)} - {' '} - value - - - -
) }