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>
|
||||
<UserLink displayName={contract.creatorName} />
|
||||
</div>
|
||||
{resolution && <div>•</div>}
|
||||
<div>
|
||||
Resolved {resolution === 'YES' && <YesLabel />}
|
||||
{resolution === 'NO' && <NoLabel />}
|
||||
{resolution === 'CANCEL' && <CancelLabel />}
|
||||
</div>
|
||||
{resolution && (
|
||||
<>
|
||||
<div>•</div>
|
||||
<div>
|
||||
Resolved {resolution === 'YES' && <YesLabel />}
|
||||
{resolution === 'NO' && <NoLabel />}
|
||||
{resolution === 'CANCEL' && <CancelLabel />}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</Row>
|
||||
</a>
|
||||
</Link>
|
||||
|
|
Loading…
Reference in New Issue
Block a user