Update labels for numeric market outcomes
This commit is contained in:
parent
f800570845
commit
a1d51e3778
|
@ -523,7 +523,7 @@ function LimitOrderPanel(props: {
|
||||||
<Row className="mt-1 items-center gap-4">
|
<Row className="mt-1 items-center gap-4">
|
||||||
<Col className="gap-2">
|
<Col className="gap-2">
|
||||||
<div className="relative ml-1 text-sm text-gray-500">
|
<div className="relative ml-1 text-sm text-gray-500">
|
||||||
Bet <YesLabel /> at
|
Bet {isPseudoNumeric ? <HigherLabel /> : <YesLabel />} at
|
||||||
</div>
|
</div>
|
||||||
<ProbabilityOrNumericInput
|
<ProbabilityOrNumericInput
|
||||||
contract={contract}
|
contract={contract}
|
||||||
|
@ -535,7 +535,7 @@ function LimitOrderPanel(props: {
|
||||||
</Col>
|
</Col>
|
||||||
<Col className="gap-2">
|
<Col className="gap-2">
|
||||||
<div className="ml-1 text-sm text-gray-500">
|
<div className="ml-1 text-sm text-gray-500">
|
||||||
Bet <NoLabel /> at
|
Bet {isPseudoNumeric ? <LowerLabel /> : <NoLabel />} at
|
||||||
</div>
|
</div>
|
||||||
<ProbabilityOrNumericInput
|
<ProbabilityOrNumericInput
|
||||||
contract={contract}
|
contract={contract}
|
||||||
|
@ -549,7 +549,8 @@ function LimitOrderPanel(props: {
|
||||||
|
|
||||||
{rangeError && (
|
{rangeError && (
|
||||||
<div className="mb-2 mr-auto self-center whitespace-nowrap text-xs font-medium tracking-wide text-red-500">
|
<div className="mb-2 mr-auto self-center whitespace-nowrap text-xs font-medium tracking-wide text-red-500">
|
||||||
YES limit must be less than NO limit
|
{isPseudoNumeric ? 'HIGHER' : 'YES'} limit must be less than{' '}
|
||||||
|
{isPseudoNumeric ? 'LOWER' : 'NO'} limit
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{outOfRangeError && (
|
{outOfRangeError && (
|
||||||
|
@ -558,7 +559,7 @@ function LimitOrderPanel(props: {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="my-3 text-left text-sm text-gray-500">
|
<div className="mt-1 mb-3 text-left text-sm text-gray-500">
|
||||||
Max amount<span className="ml-1 text-red-500">*</span>
|
Max amount<span className="ml-1 text-red-500">*</span>
|
||||||
</div>
|
</div>
|
||||||
<BuyAmountInput
|
<BuyAmountInput
|
||||||
|
|
Loading…
Reference in New Issue
Block a user