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" truncate="short"
/>{' '} />{' '}
{isPseudoNumeric {isPseudoNumeric
? ' than ' + formatNumericProbability(bet.probAfter, contract) ? ' from ' + formatNumericProbability(bet.probBefore, contract)
: ' at ' + : ' from ' +
formatPercent(
hadPoolMatch || isFreeResponse
? bet.probBefore
: bet.limitProb ?? bet.probBefore
)}
{isPseudoNumeric
? ' to ' + formatNumericProbability(bet.probAfter, contract)
: ' to ' +
formatPercent( formatPercent(
hadPoolMatch || isFreeResponse hadPoolMatch || isFreeResponse
? bet.probAfter ? bet.probAfter