feed bets: show change in prob

This commit is contained in:
mantikoros 2022-07-20 16:28:25 -05:00
parent 302a635542
commit 75a1d606cb

View File

@ -113,8 +113,16 @@ export function BetStatusText(props: {
truncate="short"
/>{' '}
{isPseudoNumeric
? ' than ' + formatNumericProbability(bet.probAfter, contract)
: ' at ' +
? ' from ' + formatNumericProbability(bet.probBefore, contract)
: ' from ' +
formatPercent(
hadPoolMatch || isFreeResponse
? bet.probBefore
: bet.limitProb ?? bet.probBefore
)}
{isPseudoNumeric
? ' to ' + formatNumericProbability(bet.probAfter, contract)
: ' to ' +
formatPercent(
hadPoolMatch || isFreeResponse
? bet.probAfter