From 6f23c16df7a1022cba8f60bf5f29ad3481d14ad9 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Thu, 26 May 2022 06:23:22 -0600 Subject: [PATCH] Show up arrow if shares in numeric markets --- web/components/contract/quick-bet.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/components/contract/quick-bet.tsx b/web/components/contract/quick-bet.tsx index a9415c5c..d7b37834 100644 --- a/web/components/contract/quick-bet.tsx +++ b/web/components/contract/quick-bet.tsx @@ -49,7 +49,8 @@ export function QuickBet(props: { contract: Contract }) { userBets, topAnswer?.number.toString() || undefined ) - const hasUpShares = yesFloorShares || contract.outcomeType === 'NUMERIC' + const hasUpShares = + yesFloorShares || (noFloorShares && contract.outcomeType === 'NUMERIC') const hasDownShares = noFloorShares && yesFloorShares <= 0 && contract.outcomeType !== 'NUMERIC'