Show up arrow if shares in numeric markets
This commit is contained in:
parent
38fa58406d
commit
6f23c16df7
|
@ -49,7 +49,8 @@ export function QuickBet(props: { contract: Contract }) {
|
||||||
userBets,
|
userBets,
|
||||||
topAnswer?.number.toString() || undefined
|
topAnswer?.number.toString() || undefined
|
||||||
)
|
)
|
||||||
const hasUpShares = yesFloorShares || contract.outcomeType === 'NUMERIC'
|
const hasUpShares =
|
||||||
|
yesFloorShares || (noFloorShares && contract.outcomeType === 'NUMERIC')
|
||||||
const hasDownShares =
|
const hasDownShares =
|
||||||
noFloorShares && yesFloorShares <= 0 && contract.outcomeType !== 'NUMERIC'
|
noFloorShares && yesFloorShares <= 0 && contract.outcomeType !== 'NUMERIC'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user