From beeca57d4e2056b517c6f0dd4c027d0e6fc60b81 Mon Sep 17 00:00:00 2001 From: ingawei <46611122+ingawei@users.noreply.github.com> Date: Wed, 12 Oct 2022 00:09:45 -0500 Subject: [PATCH] getting rid of daisy for limit order button (#1026) * getting rid of daisy for limit order button, got rid of betChoice in limit order panel --- web/components/bet-panel.tsx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index 72a4fec3..5a895472 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -47,6 +47,7 @@ import { Modal } from './layout/modal' import { Title } from './title' import toast from 'react-hot-toast' import { CheckIcon } from '@heroicons/react/solid' +import { Button } from './button' export function BetPanel(props: { contract: CPMMBinaryContract | PseudoNumericContract @@ -469,7 +470,6 @@ function LimitOrderPanel(props: { const [betAmount, setBetAmount] = useState(undefined) const [lowLimitProb, setLowLimitProb] = useState() const [highLimitProb, setHighLimitProb] = useState() - const betChoice = 'YES' const [error, setError] = useState() const [isSubmitting, setIsSubmitting] = useState(false) @@ -783,22 +783,18 @@ function LimitOrderPanel(props: { {(hasYesLimitBet || hasNoLimitBet) && } {user && ( - + )} )