bets wording

This commit is contained in:
mantikoros 2021-12-16 15:35:06 -06:00
parent 06f1657a4c
commit 985621982b
2 changed files with 7 additions and 5 deletions

View File

@ -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)} &nbsp; (+{estimatedReturnPercent})
</div>

View File

@ -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>