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,6 +207,7 @@ export function ContractPageContent(
return ( return (
<Page <Page
rightSidebar={ rightSidebar={
user || user === null ? (
<> <>
<ContractPageSidebar contract={contract} /> <ContractPageSidebar contract={contract} />
{isCreator && ( {isCreator && (
@ -215,6 +216,9 @@ export function ContractPageContent(
</Col> </Col>
)} )}
</> </>
) : (
<div />
)
} }
> >
{showConfetti && ( {showConfetti && (