Expand max guests selector to 1-30

This commit is contained in:
Tero Halla-aho 2025-12-06 22:56:10 +02:00
parent b172250551
commit a50ee24730

View file

@ -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>