contract overview: hide percent chance if market is resolved
This commit is contained in:
parent
b85d9035b0
commit
9cbfbc5275
|
@ -23,10 +23,12 @@ export const ContractOverview = (props: {
|
||||||
<ContractDetails contract={contract} />
|
<ContractDetails contract={contract} />
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col className="text-4xl mt-4 md:mt-2 md:ml-4 md:mr-6 text-primary items-end self-center md:self-start">
|
{!contract.resolution &&
|
||||||
{probPercent}
|
<Col className="text-4xl mt-4 md:mt-2 md:ml-4 md:mr-6 text-primary items-end self-center md:self-start">
|
||||||
<div className="text-xl">chance</div>
|
{probPercent}
|
||||||
</Col>
|
<div className="text-xl">chance</div>
|
||||||
|
</Col>
|
||||||
|
}
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Spacer h={4} />
|
<Spacer h={4} />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user