Market page: Show no right panel while user loading

This commit is contained in:
James Grugett 2022-10-05 16:52:16 -05:00
parent 1ef1af8234
commit a3acd3fa3c

View File

@ -207,14 +207,18 @@ export function ContractPageContent(
return (
<Page
rightSidebar={
<>
<ContractPageSidebar contract={contract} />
{isCreator && (
<Col className={'xl:hidden'}>
<RecommendedContractsWidget contract={contract} />
</Col>
)}
</>
user || user === null ? (
<>
<ContractPageSidebar contract={contract} />
{isCreator && (
<Col className={'xl:hidden'}>
<RecommendedContractsWidget contract={contract} />
</Col>
)}
</>
) : (
<div />
)
}
>
{showConfetti && (