From 370f8eefe40112a71333d40d0d12f91cb8121307 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Tue, 24 May 2022 07:34:47 -0700 Subject: [PATCH] Switch from triangle to a circle arrow WIP --- web/components/contract/quick-bet.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/web/components/contract/quick-bet.tsx b/web/components/contract/quick-bet.tsx index 35fcad50..ead76695 100644 --- a/web/components/contract/quick-bet.tsx +++ b/web/components/contract/quick-bet.tsx @@ -1,3 +1,4 @@ +import { ArrowCircleUpIcon, ArrowCircleDownIcon } from '@heroicons/react/solid' import clsx from 'clsx' import { getOutcomeProbability, getTopAnswer } from 'common/calculate' import { getExpectedValue } from 'common/calculate-dpm' @@ -16,8 +17,6 @@ import { useUser } from 'web/hooks/use-user' import { useUserContractBets } from 'web/hooks/use-user-bets' import { placeBet } from 'web/lib/firebase/api-call' import { getBinaryProb } from 'web/lib/firebase/contracts' -import TriangleDownFillIcon from 'web/lib/icons/triangle-down-fill-icon' -import TriangleFillIcon from 'web/lib/icons/triangle-fill-icon' import { Col } from '../layout/col' import { OUTCOME_TO_COLOR } from '../outcome-label' import { useSaveShares } from '../use-save-shares' @@ -98,14 +97,14 @@ export function QuickBet(props: { contract: Contract }) { {hasUpShares > 0 ? ( - ) : ( - + )} @@ -118,14 +117,14 @@ export function QuickBet(props: { contract: Contract }) { onClick={() => placeQuickBet('DOWN')} > {hasDownShares > 0 ? ( - ) : ( - + )}
{formatMoney(10)}