Sell either type of share for dpm market

This commit is contained in:
Ian Philips 2022-04-22 04:30:13 -06:00
parent 8109f3d9a9
commit 3f471e7e8e

View File

@ -39,12 +39,12 @@ export default function BetRow(props: {
setBetChoice(choice)
}}
replaceNoButton={
yesFloorShares > noFloorShares && yesFloorShares > 0 ? (
yesFloorShares > 0 ? (
<SellButton contract={contract} user={user} />
) : undefined
}
replaceYesButton={
noFloorShares > yesFloorShares && noFloorShares > 0 ? (
noFloorShares > 0 ? (
<SellButton contract={contract} user={user} />
) : undefined
}