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 ( return (
<Page <Page
rightSidebar={ rightSidebar={
<> user || user === null ? (
<ContractPageSidebar contract={contract} /> <>
{isCreator && ( <ContractPageSidebar contract={contract} />
<Col className={'xl:hidden'}> {isCreator && (
<RecommendedContractsWidget contract={contract} /> <Col className={'xl:hidden'}>
</Col> <RecommendedContractsWidget contract={contract} />
)} </Col>
</> )}
</>
) : (
<div />
)
} }
> >
{showConfetti && ( {showConfetti && (