From f761d642285276b5b0ec8a1dcaf8bb0f13b5156b Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Tue, 24 May 2022 09:00:46 -0700 Subject: [PATCH] Clean up comments --- web/components/contract/quick-bet.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/components/contract/quick-bet.tsx b/web/components/contract/quick-bet.tsx index 74ddbb50..f4f7ff1d 100644 --- a/web/components/contract/quick-bet.tsx +++ b/web/components/contract/quick-bet.tsx @@ -46,7 +46,6 @@ export function QuickBet(props: { contract: Contract }) { const hasDownShares = contract.outcomeType === 'BINARY' ? noFloorShares : yesFloorShares - // TODO: Consider making up/down two different components, for code reuse? const [upHover, setUpHover] = useState(false) const [downHover, setDownHover] = useState(false) @@ -200,7 +199,7 @@ function QuickOutcomeView(props: { }) { const { contract, previewProb, caption } = props const { outcomeType } = contract - // If there's a preview probability, + // If there's a preview prob, display that instead of the current prob const override = previewProb === undefined ? undefined : formatPercent(previewProb) const textColor = `text-${getColor(contract, previewProb)}`