Add tooltip to explain limit probability

This commit is contained in:
James Grugett 2022-07-09 15:42:28 -05:00
parent 3283b2b24b
commit 9548350112

View File

@ -385,10 +385,14 @@ function BuyPanel(props: {
/> />
{isLimitOrder && ( {isLimitOrder && (
<> <>
<div className="my-3 text-left text-sm text-gray-500"> <Row className="my-3 items-center gap-2 text-left text-sm text-gray-500">
{betChoice === 'NO' ? 'Min' : 'Max'}{' '} Limit {isPseudoNumeric ? 'value' : 'probability'}
{isPseudoNumeric ? 'value' : 'probability'} <InfoTooltip
</div> text={`Bet ${betChoice === 'YES' ? 'up' : 'down'} to this ${
isPseudoNumeric ? 'value' : 'probability'
} and wait to match other bets.`}
/>
</Row>
{isPseudoNumeric ? ( {isPseudoNumeric ? (
<BucketInput <BucketInput
contract={contract} contract={contract}