create page: minor changes
This commit is contained in:
parent
24e873b6de
commit
44f44272ff
|
@ -101,7 +101,9 @@ export default function NewContract() {
|
||||||
className="input input-bordered input-md"
|
className="input input-bordered input-md"
|
||||||
min={1}
|
min={1}
|
||||||
max={99}
|
max={99}
|
||||||
onChange={(e) => setInitialProb(parseInt(e.target.value))}
|
onChange={(e) =>
|
||||||
|
setInitialProb(parseInt(e.target.value.substring(0, 2)))
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<span>%</span>
|
<span>%</span>
|
||||||
</label>
|
</label>
|
||||||
|
@ -158,11 +160,10 @@ export default function NewContract() {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<label>
|
<label>
|
||||||
{closeDate && (
|
<span className="label-text text-gray-400 ml-1">
|
||||||
<span className="label-text text-gray-400 ml-1">
|
No new trades will be allowed after{' '}
|
||||||
No new trades will be allowed after {formattedCloseTime}
|
{closeDate ? formattedCloseTime : 'this time'}
|
||||||
</span>
|
</span>
|
||||||
)}
|
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user