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 && ( )}