Added a description for limit orders.

This commit is contained in:
nicholascc 2022-07-25 16:49:50 -07:00
parent d929ba5ff5
commit c74f178bcb

View File

@ -262,9 +262,17 @@ function BuyPanel(props: {
return ( return (
<> <>
{isLimitOrder && (
<>
<p> Place a limit order to add to the order book rather than trade directly. Your orders will be filled over time if others trade with them at the prices you set. </p>
<br/>
</>
)}
<div className="my-3 text-left text-sm text-gray-500"> <div className="my-3 text-left text-sm text-gray-500">
{isPseudoNumeric ? 'Direction' : 'Outcome'} {isPseudoNumeric ? 'Direction' : 'Outcome'}
</div> </div>
<YesNoSelector <YesNoSelector
className="mb-4" className="mb-4"
btnClassName="flex-1" btnClassName="flex-1"
@ -285,6 +293,7 @@ function BuyPanel(props: {
/> />
{isLimitOrder && ( {isLimitOrder && (
<> <>
<p> test </p>
<Row className="my-3 items-center gap-2 text-left text-sm text-gray-500"> <Row className="my-3 items-center gap-2 text-left text-sm text-gray-500">
Limit {isPseudoNumeric ? 'value' : 'probability'} Limit {isPseudoNumeric ? 'value' : 'probability'}
<InfoTooltip <InfoTooltip