From 6551aa7ea4c1228e7e3e3b4779483a3b477740e6 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Tue, 24 May 2022 07:38:58 -0700 Subject: [PATCH] Revert "Switch from triangle to a circle arrow" This reverts commit 370f8eefe40112a71333d40d0d12f91cb8121307. --- web/components/contract/quick-bet.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/web/components/contract/quick-bet.tsx b/web/components/contract/quick-bet.tsx index ead76695..35fcad50 100644 --- a/web/components/contract/quick-bet.tsx +++ b/web/components/contract/quick-bet.tsx @@ -1,4 +1,3 @@ -import { ArrowCircleUpIcon, ArrowCircleDownIcon } from '@heroicons/react/solid' import clsx from 'clsx' import { getOutcomeProbability, getTopAnswer } from 'common/calculate' import { getExpectedValue } from 'common/calculate-dpm' @@ -17,6 +16,8 @@ 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' @@ -97,14 +98,14 @@ export function QuickBet(props: { contract: Contract }) { {hasUpShares > 0 ? ( - ) : ( - + )} @@ -117,14 +118,14 @@ export function QuickBet(props: { contract: Contract }) { onClick={() => placeQuickBet('DOWN')} > {hasDownShares > 0 ? ( - ) : ( - + )}
{formatMoney(10)}