Free market creation shows cost striked through
This commit is contained in:
parent
45e54789b7
commit
668f30dd55
|
@ -483,17 +483,17 @@ export function NewContract(props: {
|
||||||
{formatMoney(ante)}
|
{formatMoney(ante)}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div>
|
<Row>
|
||||||
<div className="label-text text-primary pl-1">
|
<div className="label-text text-neutral pl-1 line-through">
|
||||||
FREE{' '}
|
{formatMoney(ante)}
|
||||||
<span className="label-text pl-1 text-gray-500">
|
|
||||||
(You have{' '}
|
|
||||||
{FREE_MARKETS_PER_USER_MAX -
|
|
||||||
(creator?.freeMarketsCreated ?? 0)}{' '}
|
|
||||||
free markets left)
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div className="label-text text-primary pl-1">FREE </div>
|
||||||
|
<div className="label-text pl-1 text-gray-500">
|
||||||
|
(You have{' '}
|
||||||
|
{FREE_MARKETS_PER_USER_MAX - (creator?.freeMarketsCreated ?? 0)}{' '}
|
||||||
|
free markets left)
|
||||||
|
</div>
|
||||||
|
</Row>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{ante > balance && !deservesFreeMarket && (
|
{ante > balance && !deservesFreeMarket && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user