From 7696dd84b54930c1b1e2d5d96a4f4e48a30f606b Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 23 Mar 2022 00:40:05 -0500 Subject: [PATCH] Fix 'undefined' shares in DPM tooltip --- web/components/bet-panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index fab562b2..2aebc241 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -127,7 +127,7 @@ export function BetPanel(props: { (contract.phantomShares ? contract.phantomShares[betChoice ?? 'YES'] : 0) - )} ${betChoice} shares` + )} ${betChoice ?? 'YES'} shares` : undefined return (