fix(SW-188): improve semantics, use hotel instead of attribute naming

This commit is contained in:
Chuma McPhoy
2024-08-14 08:27:56 +02:00
parent ed379202c8
commit 3a2a58a9ca
7 changed files with 24 additions and 25 deletions

View File

@@ -27,8 +27,8 @@ export default async function SelectHotelPage({
return null
}
const { attributes } = hotelData
const hotels = [attributes]
const { hotel } = hotelData
const hotels = [hotel]
const hotelFilters = await serverClient().hotel.getFilters({
hotelId: "879",