Market page: Show no right panel while user loading
This commit is contained in:
parent
1ef1af8234
commit
a3acd3fa3c
|
@ -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 && (
|
||||
|
|
Loading…
Reference in New Issue
Block a user