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 className="mt-3 mb-1 text-sm text-gray-400">Remaining balance</div>
|
||||||
<div>{formatMoney(remainingBalance > 0 ? remainingBalance : 0)}</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>
|
<Row>
|
||||||
<div>{formatPercent(initialProb)}</div>
|
<div>{formatPercent(initialProb)}</div>
|
||||||
<div className="mx-2">→</div>
|
<div className="mx-2">→</div>
|
||||||
<div>{formatPercent(resultProb)}</div>
|
<div>{formatPercent(resultProb)}</div>
|
||||||
</Row>
|
</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>
|
<div>
|
||||||
{formatMoney(estimatedWinnings)} (+{estimatedReturnPercent})
|
{formatMoney(estimatedWinnings)} (+{estimatedReturnPercent})
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -174,7 +174,7 @@ export function MyBetsSummary(props: {
|
||||||
return (
|
return (
|
||||||
<Row className={clsx('gap-8', className)}>
|
<Row className={clsx('gap-8', className)}>
|
||||||
<Col>
|
<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>
|
<div>{formatMoney(betsTotal)}</div>
|
||||||
</Col>
|
</Col>
|
||||||
{resolution ? (
|
{resolution ? (
|
||||||
|
@ -188,13 +188,13 @@ export function MyBetsSummary(props: {
|
||||||
<>
|
<>
|
||||||
<Col>
|
<Col>
|
||||||
<div className="text-sm text-gray-500">
|
<div className="text-sm text-gray-500">
|
||||||
If <YesLabel />
|
Payout if <YesLabel />
|
||||||
</div>
|
</div>
|
||||||
<div>{formatMoney(yesWinnings)}</div>
|
<div>{formatMoney(yesWinnings)}</div>
|
||||||
</Col>
|
</Col>
|
||||||
<Col>
|
<Col>
|
||||||
<div className="text-sm text-gray-500">
|
<div className="text-sm text-gray-500">
|
||||||
If <NoLabel />
|
Payout if <NoLabel />
|
||||||
</div>
|
</div>
|
||||||
<div>{formatMoney(noWinnings)}</div>
|
<div>{formatMoney(noWinnings)}</div>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user