Add bet panel for creator of market. Can disable later if we decide to

This commit is contained in:
jahooma 2021-12-14 18:29:58 -06:00
parent c3bfe6b058
commit 0c880bb0cb

View File

@ -47,11 +47,13 @@ export default function ContractPage() {
<>
<div className="mt-12 md:mt-0 md:ml-8" />
{isCreator ? (
<ResolutionPanel creator={user} contract={contract} />
) : (
<Col className="w-full">
<BetPanel contract={contract} />
{isCreator && (
<ResolutionPanel creator={user} contract={contract} />
)}
</Col>
</>
)}
</Col>