Expand max guests selector to 1-30
This commit is contained in:
parent
b172250551
commit
a50ee24730
1 changed files with 1 additions and 1 deletions
|
|
@ -594,7 +594,7 @@ export default function NewListingPage() {
|
|||
<label>
|
||||
{t('maxGuestsLabel')}
|
||||
<select value={maxGuests} onChange={(e) => setMaxGuests(Number(e.target.value))}>
|
||||
{[2, 4, 6, 8, 10, 12, 14, 16].map((n) => (
|
||||
{Array.from({ length: 30 }, (_, i) => i + 1).map((n) => (
|
||||
<option key={n} value={n}>
|
||||
{n}
|
||||
</option>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue