From 7b0be014eb29448992bd1d4112182a0757d21d3b Mon Sep 17 00:00:00 2001 From: mantikoros Date: Thu, 26 May 2022 09:39:06 -0500 Subject: [PATCH] show resolved n/a for numeric markets --- web/components/contract/contract-card.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/components/contract/contract-card.tsx b/web/components/contract/contract-card.tsx index 6f83ccb9..84e2db8f 100644 --- a/web/components/contract/contract-card.tsx +++ b/web/components/contract/contract-card.tsx @@ -20,6 +20,7 @@ import { import { AnswerLabel, BinaryContractOutcomeLabel, + CancelLabel, FreeResponseOutcomeLabel, } from '../outcome-label' import { getOutcomeProbability, getTopAnswer } from 'common/calculate' @@ -240,7 +241,12 @@ export function NumericResolutionOrExpectation(props: { {resolution ? ( <>
Resolved
-
{resolutionValue}
+ + {resolution === 'CANCEL' ? ( + + ) : ( +
{resolutionValue}
+ )} ) : ( <>