Conditionally show YES or NO max payout
This commit is contained in:
parent
bc33f9572f
commit
16c11adc61
|
@ -554,6 +554,7 @@ function RangeOrderPanel(props: {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Col className="mt-3 w-full gap-3">
|
<Col className="mt-3 w-full gap-3">
|
||||||
|
{lowLimitProb !== undefined && (
|
||||||
<Row className="items-center justify-between gap-2 text-sm">
|
<Row className="items-center justify-between gap-2 text-sm">
|
||||||
<Row className="flex-nowrap items-center gap-2 whitespace-nowrap text-gray-500">
|
<Row className="flex-nowrap items-center gap-2 whitespace-nowrap text-gray-500">
|
||||||
<div>
|
<div>
|
||||||
|
@ -576,6 +577,8 @@ function RangeOrderPanel(props: {
|
||||||
(+{lowReturnPercent})
|
(+{lowReturnPercent})
|
||||||
</div>
|
</div>
|
||||||
</Row>
|
</Row>
|
||||||
|
)}
|
||||||
|
{highLimitProb !== undefined && (
|
||||||
<Row className="items-center justify-between gap-2 text-sm">
|
<Row className="items-center justify-between gap-2 text-sm">
|
||||||
<Row className="flex-nowrap items-center gap-2 whitespace-nowrap text-gray-500">
|
<Row className="flex-nowrap items-center gap-2 whitespace-nowrap text-gray-500">
|
||||||
<div>
|
<div>
|
||||||
|
@ -598,9 +601,12 @@ function RangeOrderPanel(props: {
|
||||||
(+{highReturnPercent})
|
(+{highReturnPercent})
|
||||||
</div>
|
</div>
|
||||||
</Row>
|
</Row>
|
||||||
|
)}
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
|
{(lowLimitProb !== undefined || highLimitProb !== undefined) && (
|
||||||
<Spacer h={8} />
|
<Spacer h={8} />
|
||||||
|
)}
|
||||||
|
|
||||||
{user && (
|
{user && (
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in New Issue
Block a user