diff --git a/web/pages/[username]/[contractId].tsx b/web/pages/[username]/[contractId].tsx index fc6b16ae..eeb73e08 100644 --- a/web/pages/[username]/[contractId].tsx +++ b/web/pages/[username]/[contractId].tsx @@ -31,11 +31,10 @@ export async function getServerSideProps({ params }: { params: any }) { // } export default function ContractPage({ contract }: { contract: Contract }) { - const user = useUser() - - const router = useRouter() - const { contractId } = router.query as { contractId: string } + const user = null // useUser() + // const router = useRouter() + // const { contractId } = router.query as { contractId: string } // const contract = useContract(contractId) // if (contract === 'loading') { // return
@@ -53,7 +52,7 @@ export default function ContractPage({ contract }: { contract: Contract }) { const isCreator = user?.id === creatorId return ( -+ {/*
- + */}