Feat/SW-2271 hotel list filtering
* feat(SW-2271): Changes to hotel data types in preperation for filtering * feat(SW-2271): Added filter and sort functionality Approved-by: Matilda Landström
This commit is contained in:
@@ -30,13 +30,11 @@ export default async function HotelListing({
|
||||
<Typography variant="Title/sm">
|
||||
<h3 className={styles.heading}>{heading}</h3>
|
||||
</Typography>
|
||||
{hotels.map(({ url, hotel, additionalData }) => (
|
||||
{hotels.map((hotelData) => (
|
||||
<HotelListingItem
|
||||
key={hotel.name}
|
||||
hotel={hotel}
|
||||
additionalData={additionalData}
|
||||
key={hotelData.hotel.name}
|
||||
hotelData={hotelData}
|
||||
contentType={contentType}
|
||||
url={url}
|
||||
/>
|
||||
))}
|
||||
</SectionContainer>
|
||||
|
||||
Reference in New Issue
Block a user