From d7b021b79fb911ccdc0cb5cf824924633f2ec3f5 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 10 Aug 2022 12:37:51 -0500 Subject: [PATCH] Clear entered limit probs on submit limit order --- web/components/bet-panel.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index c0f7ff94..9c572e0c 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -484,6 +484,8 @@ function LimitOrderPanel(props: { setIsSubmitting(false) setWasSubmitted(true) setBetAmount(undefined) + setLowLimitProb(undefined) + setHighLimitProb(undefined) if (onBuySuccess) onBuySuccess() })