Fix: Don't show "Resolved" on unresolved markets
This commit is contained in:
parent
02d836adda
commit
09dba6ef1e
|
@ -75,12 +75,16 @@ function MyContractBets(props: { contractId: string; bets: Bet[] }) {
|
||||||
<div>
|
<div>
|
||||||
<UserLink displayName={contract.creatorName} />
|
<UserLink displayName={contract.creatorName} />
|
||||||
</div>
|
</div>
|
||||||
{resolution && <div>•</div>}
|
{resolution && (
|
||||||
|
<>
|
||||||
|
<div>•</div>
|
||||||
<div>
|
<div>
|
||||||
Resolved {resolution === 'YES' && <YesLabel />}
|
Resolved {resolution === 'YES' && <YesLabel />}
|
||||||
{resolution === 'NO' && <NoLabel />}
|
{resolution === 'NO' && <NoLabel />}
|
||||||
{resolution === 'CANCEL' && <CancelLabel />}
|
{resolution === 'CANCEL' && <CancelLabel />}
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Row>
|
</Row>
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user