bets wording
This commit is contained in:
parent
06f1657a4c
commit
985621982b
|
@ -135,14 +135,16 @@ export function BetPanel(props: { contract: Contract; className?: string }) {
|
|||
<div className="mt-3 mb-1 text-sm text-gray-400">Remaining balance</div>
|
||||
<div>{formatMoney(remainingBalance > 0 ? remainingBalance : 0)}</div>
|
||||
|
||||
<div className="mt-2 mb-1 text-sm text-gray-400">Implied chance</div>
|
||||
<div className="mt-2 mb-1 text-sm text-gray-400">Implied probability</div>
|
||||
<Row>
|
||||
<div>{formatPercent(initialProb)}</div>
|
||||
<div className="mx-2">→</div>
|
||||
<div>{formatPercent(resultProb)}</div>
|
||||
</Row>
|
||||
|
||||
<div className="mt-2 mb-1 text-sm text-gray-400">Max payout (estimated)</div>
|
||||
<div className="mt-2 mb-1 text-sm text-gray-400">
|
||||
Max payout (estimated)
|
||||
</div>
|
||||
<div>
|
||||
{formatMoney(estimatedWinnings)} (+{estimatedReturnPercent})
|
||||
</div>
|
||||
|
|
|
@ -174,7 +174,7 @@ export function MyBetsSummary(props: {
|
|||
return (
|
||||
<Row className={clsx('gap-8', className)}>
|
||||
<Col>
|
||||
<div className="text-sm text-gray-500">Total bet</div>
|
||||
<div className="text-sm text-gray-500">Total bets</div>
|
||||
<div>{formatMoney(betsTotal)}</div>
|
||||
</Col>
|
||||
{resolution ? (
|
||||
|
@ -188,13 +188,13 @@ export function MyBetsSummary(props: {
|
|||
<>
|
||||
<Col>
|
||||
<div className="text-sm text-gray-500">
|
||||
If <YesLabel />
|
||||
Payout if <YesLabel />
|
||||
</div>
|
||||
<div>{formatMoney(yesWinnings)}</div>
|
||||
</Col>
|
||||
<Col>
|
||||
<div className="text-sm text-gray-500">
|
||||
If <NoLabel />
|
||||
Payout if <NoLabel />
|
||||
</div>
|
||||
<div>{formatMoney(noWinnings)}</div>
|
||||
</Col>
|
||||
|
|
Loading…
Reference in New Issue
Block a user