don't hide free response panel on open resolve

This commit is contained in:
Sinclair Chen 2022-10-06 15:20:46 -07:00
parent adb809f973
commit d9c8925ea0

View File

@ -157,9 +157,7 @@ export function AnswersPanel(props: {
<div className="pb-4 text-gray-500">No answers yet...</div>
)}
{outcomeType === 'FREE_RESPONSE' &&
tradingAllowed(contract) &&
(!resolveOption || resolveOption === 'CANCEL') && (
{outcomeType === 'FREE_RESPONSE' && tradingAllowed(contract) && (
<CreateAnswerPanel contract={contract} />
)}