diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index 26d2d974..8343d696 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -250,6 +250,9 @@ function BuyPanel(props: { ) const resultProb = getCpmmProbability(newPool, newP) + const probStayedSame = + formatPercent(resultProb) === formatPercent(initialProb) + const remainingMatched = isLimitOrder ? ((newBet.orderAmount ?? 0) - newBet.amount) / (betChoice === 'YES' ? limitProbFrac : 1 - limitProbFrac) @@ -339,11 +342,15 @@ function BuyPanel(props: {
{isPseudoNumeric ? 'Estimated value' : 'Probability'}
-
- {format(initialProb)} - - {format(resultProb)} -
+ {probStayedSame ? ( +
{format(initialProb)}
+ ) : ( +
+ {format(initialProb)} + + {format(resultProb)} +
+ )} )}