Limit order trade log: '/' to 'of'. Remove 'of' in 'of YES'.
This commit is contained in:
parent
80622dc7ee
commit
77e0631ea4
|
@ -64,11 +64,11 @@ export function BetStatusText(props: {
|
||||||
}, [challengeSlug, contract.id])
|
}, [challengeSlug, contract.id])
|
||||||
|
|
||||||
const bought = amount >= 0 ? 'bought' : 'sold'
|
const bought = amount >= 0 ? 'bought' : 'sold'
|
||||||
|
const money = formatMoney(Math.abs(amount))
|
||||||
const outOfTotalAmount =
|
const outOfTotalAmount =
|
||||||
bet.limitProb !== undefined && bet.orderAmount !== undefined
|
bet.limitProb !== undefined && bet.orderAmount !== undefined
|
||||||
? ` / ${formatMoney(bet.orderAmount)}`
|
? ` of ${bet.isCancelled ? money : formatMoney(bet.orderAmount)}`
|
||||||
: ''
|
: ''
|
||||||
const money = formatMoney(Math.abs(amount))
|
|
||||||
|
|
||||||
const hadPoolMatch =
|
const hadPoolMatch =
|
||||||
(bet.limitProb === undefined ||
|
(bet.limitProb === undefined ||
|
||||||
|
@ -105,7 +105,6 @@ export function BetStatusText(props: {
|
||||||
{!hideOutcome && (
|
{!hideOutcome && (
|
||||||
<>
|
<>
|
||||||
{' '}
|
{' '}
|
||||||
of{' '}
|
|
||||||
<OutcomeLabel
|
<OutcomeLabel
|
||||||
outcome={outcome}
|
outcome={outcome}
|
||||||
value={(bet as any).value}
|
value={(bet as any).value}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user