fix: clean up hotel and its typings
This commit is contained in:
@@ -29,8 +29,8 @@ export default async function HotelListing({
|
||||
</Title>
|
||||
{hotels.map(({ data, url }) => (
|
||||
<HotelListingItem
|
||||
key={data.name}
|
||||
hotel={data}
|
||||
key={data.hotel.name}
|
||||
hotel={data.hotel}
|
||||
contentType={contentType}
|
||||
url={url}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user