show resolved n/a for numeric markets
This commit is contained in:
parent
6f23c16df7
commit
7b0be014eb
|
@ -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>
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
|
|
Loading…
Reference in New Issue
Block a user