Fix build errors for updated listing fields and admin effect deps

This commit is contained in:
Tero Halla-aho 2025-12-06 23:24:56 +02:00
parent 1865071bee
commit c4e503989a
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ export default function AdminUsersPage() {
}
})
.catch(() => setError(t('adminRequired')));
}, []);
}, [t]);
async function setUserRole(userId: string, role: string) {
setMessage(null);

View file

@ -163,7 +163,7 @@ export async function GET(req: Request) {
hasBarbecue: listing.hasBarbecue,
hasMicrowave: listing.hasMicrowave,
hasFreeParking: listing.hasFreeParking,
evCharging: listing.evCharging,
evChargingAvailable: listing.evChargingAvailable,
maxGuests: listing.maxGuests,
bedrooms: listing.bedrooms,
beds: listing.beds,