down betting arrow disabled for free response markets

This commit is contained in:
mantikoros 2022-06-02 16:25:41 -05:00
parent 5a4bb65d80
commit 06c5c97a03

View File

@ -142,6 +142,14 @@ export function QuickBet(props: { contract: Contract; user: User }) {
<QuickOutcomeView contract={contract} previewProb={previewProb} />
{/* 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
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)}
</div>
</div>
)}
</Col>
)
}