Hide liquidity injection star, for now

This commit is contained in:
Austin Chen 2022-05-21 13:32:57 -07:00
parent d1fab9937f
commit 98510f233d
2 changed files with 4 additions and 13 deletions

View File

@ -25,18 +25,9 @@ import {
OUTCOME_TO_COLOR, OUTCOME_TO_COLOR,
} from '../outcome-label' } from '../outcome-label'
import { getOutcomeProbability, getTopAnswer } from 'common/calculate' import { getOutcomeProbability, getTopAnswer } from 'common/calculate'
import { import { AvatarDetails, MiscDetails } from './contract-details'
AbbrContractDetails,
AvatarDetails,
MiscDetails,
} from './contract-details'
import { getExpectedValue, getValueFromBucket } from 'common/calculate-dpm' import { getExpectedValue, getValueFromBucket } from 'common/calculate-dpm'
import { import { PaperAirplaneIcon } from '@heroicons/react/outline'
ArrowCircleUpIcon,
ArrowCircleDownIcon,
StarIcon,
PaperAirplaneIcon,
} from '@heroicons/react/outline'
import { PaperAirplaneIcon as SolidPlaneIcon } from '@heroicons/react/solid' import { PaperAirplaneIcon as SolidPlaneIcon } from '@heroicons/react/solid'
// Return a number from 0 to 1 for this contract // Return a number from 0 to 1 for this contract

View File

@ -43,11 +43,11 @@ export function MiscDetails(props: {
return ( return (
<Row className="items-center gap-3 text-sm text-gray-400"> <Row className="items-center gap-3 text-sm text-gray-400">
{contract.createdTime % 3 == 1 ? ( {/* {contract.createdTime % 3 == 1 ? (
<SolidStarIcon className="h-6 w-6 text-indigo-600" /> <SolidStarIcon className="h-6 w-6 text-indigo-600" />
) : ( ) : (
<StarIcon className="h-6 w-6 text-gray-400" /> <StarIcon className="h-6 w-6 text-gray-400" />
)} )} */}
{categories.length > 0 && ( {categories.length > 0 && (
<TagsList className="text-gray-400" tags={categories} noLabel /> <TagsList className="text-gray-400" tags={categories} noLabel />