show resolved n/a for numeric markets

This commit is contained in:
mantikoros 2022-05-26 09:39:06 -05:00
parent 6f23c16df7
commit 7b0be014eb

View File

@ -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 ? (
<>
<div className={clsx('text-base text-gray-500')}>Resolved</div>
{resolution === 'CANCEL' ? (
<CancelLabel />
) : (
<div className="text-blue-400">{resolutionValue}</div>
)}
</>
) : (
<>