bring back autoFocus on Auction Duration input

This commit is contained in:
nathanramli 2021-07-03 00:09:14 +07:00
parent f705c50e16
commit 16435735c1
No known key found for this signature in database
GPG Key ID: DEFDDC116EF025F9
1 changed files with 2 additions and 1 deletions

View File

@ -327,7 +327,7 @@ export const AuctionCreateView = () => {
: ( : (
attributes.gapTimeType == "hours" attributes.gapTimeType == "hours"
? (60 * 60) // 1 hour in seconds ? (60 * 60) // 1 hour in seconds
: 60 : 60 // 1 minute in seconds
) )
)), )),
priceFloor: new PriceFloor({ priceFloor: new PriceFloor({
@ -1177,6 +1177,7 @@ const EndingPhaseAuction = (props: {
<Option value="days">Days</Option> <Option value="days">Days</Option>
</Select> </Select>
)} )}
autoFocus
type="number" type="number"
className="input" className="input"
placeholder="Set the auction duration" placeholder="Set the auction duration"