down betting arrow disabled for free response markets
This commit is contained in:
parent
5a4bb65d80
commit
06c5c97a03
|
@ -142,6 +142,14 @@ export function QuickBet(props: { contract: Contract; user: User }) {
|
||||||
<QuickOutcomeView contract={contract} previewProb={previewProb} />
|
<QuickOutcomeView contract={contract} previewProb={previewProb} />
|
||||||
|
|
||||||
{/* Down bet triangle */}
|
{/* Down bet triangle */}
|
||||||
|
{contract.outcomeType !== 'BINARY' ? (
|
||||||
|
<div>
|
||||||
|
<div className="peer absolute bottom-0 left-0 right-0 h-[50%] cursor-default"></div>
|
||||||
|
<TriangleDownFillIcon
|
||||||
|
className={clsx('mx-auto h-5 w-5 text-gray-200')}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
className="peer absolute bottom-0 left-0 right-0 h-[50%]"
|
className="peer absolute bottom-0 left-0 right-0 h-[50%]"
|
||||||
|
@ -168,6 +176,7 @@ export function QuickBet(props: { contract: Contract; user: User }) {
|
||||||
{formatMoney(10)}
|
{formatMoney(10)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</Col>
|
</Col>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user