- {hotel.ratings?.tripAdvisor.rating} + {data.attributes.ratings?.tripAdvisor.rating} @@ -58,10 +69,10 @@ export default async function HotelCard({ {hotel.name} - {`${hotel.address.streetAddress}, ${hotel.address.city}`} + {`${data.attributes.address.streetAddress}, ${data.attributes.address.city}`} - {`${hotel.location.distanceToCentre} ${intl.formatMessage({ id: "km to city center" })}`} + {`${data.attributes.location.distanceToCentre} ${intl.formatMessage({ id: "km to city center" })}`}