Fix 'undefined' shares in DPM tooltip

This commit is contained in:
James Grugett 2022-03-23 00:40:05 -05:00
parent 8569a0362b
commit 7696dd84b5

View File

@ -127,7 +127,7 @@ export function BetPanel(props: {
(contract.phantomShares
? contract.phantomShares[betChoice ?? 'YES']
: 0)
)} ${betChoice} shares`
)} ${betChoice ?? 'YES'} shares`
: undefined
return (