From c5286dfa87fa23be717f3c56b629af385e7b31e4 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 15 Dec 2021 22:12:27 -0600 Subject: [PATCH] test --- web/pages/[username]/[contractId].tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/pages/[username]/[contractId].tsx b/web/pages/[username]/[contractId].tsx index eeb73e08..e5a2ca56 100644 --- a/web/pages/[username]/[contractId].tsx +++ b/web/pages/[username]/[contractId].tsx @@ -49,7 +49,9 @@ export default function ContractPage({ contract }: { contract: Contract }) { if (!contract) return
const { creatorId, isResolved } = contract - const isCreator = user?.id === creatorId + // const isCreator = user?.id === creatorId + + const isCreator = false return ( <> @@ -91,7 +93,7 @@ export default function ContractPage({ contract }: { contract: Contract }) { - {isCreator && ( + {isCreator && user && ( )}