From 5af2e1fef07a3e49cf3d8ebbb7c5d9b03c225e9e Mon Sep 17 00:00:00 2001 From: mantikoros Date: Thu, 2 Jun 2022 15:53:56 -0500 Subject: [PATCH] up arrows green, down arrows red --- web/components/contract/quick-bet.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/web/components/contract/quick-bet.tsx b/web/components/contract/quick-bet.tsx index 4c0e2ce5..34eac6f4 100644 --- a/web/components/contract/quick-bet.tsx +++ b/web/components/contract/quick-bet.tsx @@ -68,8 +68,6 @@ export function QuickBet(props: { contract: Contract; user: User }) { // Catch any errors from hovering on an invalid option } - const color = getColor(contract, previewProb) - async function placeQuickBet(direction: 'UP' | 'DOWN') { const betPromise = async () => { const outcome = quickOutcome(contract, direction) @@ -128,14 +126,14 @@ export function QuickBet(props: { contract: Contract; user: User }) { ) : ( )} @@ -155,14 +153,14 @@ export function QuickBet(props: { contract: Contract; user: User }) { ) : ( )}