From 98510f233df53b1de7f12d0f581dddd6b6f7fc55 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Sat, 21 May 2022 13:32:57 -0700 Subject: [PATCH] Hide liquidity injection star, for now --- web/components/contract/contract-card.tsx | 13 ++----------- web/components/contract/contract-details.tsx | 4 ++-- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/web/components/contract/contract-card.tsx b/web/components/contract/contract-card.tsx index 7ecb3b6d..1a5c660c 100644 --- a/web/components/contract/contract-card.tsx +++ b/web/components/contract/contract-card.tsx @@ -25,18 +25,9 @@ import { OUTCOME_TO_COLOR, } from '../outcome-label' import { getOutcomeProbability, getTopAnswer } from 'common/calculate' -import { - AbbrContractDetails, - AvatarDetails, - MiscDetails, -} from './contract-details' +import { AvatarDetails, MiscDetails } from './contract-details' import { getExpectedValue, getValueFromBucket } from 'common/calculate-dpm' -import { - ArrowCircleUpIcon, - ArrowCircleDownIcon, - StarIcon, - PaperAirplaneIcon, -} from '@heroicons/react/outline' +import { PaperAirplaneIcon } from '@heroicons/react/outline' import { PaperAirplaneIcon as SolidPlaneIcon } from '@heroicons/react/solid' // Return a number from 0 to 1 for this contract diff --git a/web/components/contract/contract-details.tsx b/web/components/contract/contract-details.tsx index fd5e6968..849d4615 100644 --- a/web/components/contract/contract-details.tsx +++ b/web/components/contract/contract-details.tsx @@ -43,11 +43,11 @@ export function MiscDetails(props: { return ( - {contract.createdTime % 3 == 1 ? ( + {/* {contract.createdTime % 3 == 1 ? ( ) : ( - )} + )} */} {categories.length > 0 && (