diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index 4bc0147c..fff0975e 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -538,7 +538,7 @@ function SellButton(props: { contract: Contract; bet: Bet }) { className: clsx('btn-sm', isSubmitting && 'btn-disabled loading'), label: 'Sell', }} - submitBtn={{ className: 'btn-primary' }} + submitBtn={{ className: 'btn-primary', label: 'Sell' }} onSubmit={async () => { setIsSubmitting(true) await sellBet({ contractId: contract.id, betId: bet.id }) @@ -546,22 +546,19 @@ function SellButton(props: { contract: Contract; bet: Bet }) { }} >
- Sell -
-
- Do you want to sell {formatWithCommas(shares)} shares of{' '} + Sell {formatWithCommas(shares)} shares of{' '} for {formatMoney(saleAmount)}?
{!!loanAmount && (
- You will also pay back {formatMoney(loanAmount)} of your loan for a + You will also pay back {formatMoney(loanAmount)} of your loan, for a net of {formatMoney(saleAmount - loanAmount)}.
)}
- (Updated probability: {formatPercent(initialProb)} →{' '} - {formatPercent(outcomeProb)}) + Market probability: {formatPercent(initialProb)} →{' '} + {formatPercent(outcomeProb)}
)