From a3acd3fa3c5884b579671b41bfc3e158c8d04e70 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 5 Oct 2022 16:52:16 -0500 Subject: [PATCH] Market page: Show no right panel while user loading --- web/pages/[username]/[contractSlug].tsx | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/web/pages/[username]/[contractSlug].tsx b/web/pages/[username]/[contractSlug].tsx index 2fb02642..1de472c5 100644 --- a/web/pages/[username]/[contractSlug].tsx +++ b/web/pages/[username]/[contractSlug].tsx @@ -207,14 +207,18 @@ export function ContractPageContent( return ( - - {isCreator && ( - - - - )} - + user || user === null ? ( + <> + + {isCreator && ( + + + + )} + + ) : ( +
+ ) } > {showConfetti && (