Fix 'undefined' shares in DPM tooltip
This commit is contained in:
parent
8569a0362b
commit
7696dd84b5
|
@ -127,7 +127,7 @@ export function BetPanel(props: {
|
||||||
(contract.phantomShares
|
(contract.phantomShares
|
||||||
? contract.phantomShares[betChoice ?? 'YES']
|
? contract.phantomShares[betChoice ?? 'YES']
|
||||||
: 0)
|
: 0)
|
||||||
)} ${betChoice} shares`
|
)} ${betChoice ?? 'YES'} shares`
|
||||||
: undefined
|
: undefined
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user