diff --git a/common/contract.ts b/common/contract.ts index 53002fbf..1c9a4166 100644 --- a/common/contract.ts +++ b/common/contract.ts @@ -94,9 +94,7 @@ export type Numeric = { export type contractField = keyof Contract export type outcomeType = AnyOutcomeType['outcomeType'] export type resolution = 'YES' | 'NO' | 'MKT' | 'CANCEL' - -export const RESOLUTIONS = [ 'YES', 'NO', 'MKT', 'CANCEL'] as const -export const RESOLUTION_TYPES = ['MANUAL', 'COMBINED'] as const +export const RESOLUTIONS = ['YES', 'NO', 'MKT', 'CANCEL'] as const export const OUTCOME_TYPES = ['BINARY', 'FREE_RESPONSE', 'NUMERIC'] as const export const MAX_QUESTION_LENGTH = 480 export const MAX_DESCRIPTION_LENGTH = 10000 diff --git a/web/components/contract/contract-details.tsx b/web/components/contract/contract-details.tsx index acfa64e8..f54b1c06 100644 --- a/web/components/contract/contract-details.tsx +++ b/web/components/contract/contract-details.tsx @@ -1,4 +1,3 @@ -import clsx from 'clsx' import { ClockIcon, DatabaseIcon, @@ -33,7 +32,6 @@ export function MiscDetails(props: { }) { const { contract, showHotVolume, showCloseTime } = props const { volume, volume24Hours, closeTime, tags } = contract - const { volumeLabel } = contractMetrics(contract) // Show at most one category that this contract is tagged by const categories = CATEGORY_LIST.filter((category) => tags.map((t) => t.toLowerCase()).includes(category)