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 (
|
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 && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user