From 266a21a509a3704b367a56226375f3e5ef204e5d Mon Sep 17 00:00:00 2001 From: ingawei Date: Wed, 14 Sep 2022 17:53:29 -0700 Subject: [PATCH] getting rid of comments --- web/pages/[username]/[contractSlug].tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/pages/[username]/[contractSlug].tsx b/web/pages/[username]/[contractSlug].tsx index addd6547..51254fe6 100644 --- a/web/pages/[username]/[contractSlug].tsx +++ b/web/pages/[username]/[contractSlug].tsx @@ -122,8 +122,6 @@ export function ContractPageSidebar(props: { const isPseudoNumeric = outcomeType === 'PSEUDO_NUMERIC' const isNumeric = outcomeType === 'NUMERIC' const allowTrade = tradingAllowed(contract) - // INGA HERE IT'S HERE THIS IS THE SOLUTION - // const allowResolve = !isResolved && isCreator && !!user const isAdmin = useAdmin() const allowResolve = !isResolved && (isCreator || isAdmin) && !!user