From d9c8925ea0a7e5c354307d4e4f1b4f24e2d8aad7 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Thu, 6 Oct 2022 15:20:46 -0700 Subject: [PATCH] don't hide free response panel on open resolve --- web/components/answers/answers-panel.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/components/answers/answers-panel.tsx b/web/components/answers/answers-panel.tsx index 08b1373f..6b35f74e 100644 --- a/web/components/answers/answers-panel.tsx +++ b/web/components/answers/answers-panel.tsx @@ -157,11 +157,9 @@ export function AnswersPanel(props: {
No answers yet...
)} - {outcomeType === 'FREE_RESPONSE' && - tradingAllowed(contract) && - (!resolveOption || resolveOption === 'CANCEL') && ( - - )} + {outcomeType === 'FREE_RESPONSE' && tradingAllowed(contract) && ( + + )} {(user?.id === creatorId || (isAdmin && needsAdminToResolve(contract))) && !resolution && (