feat(SW-750): change key name

This commit is contained in:
Fredrik Thorsson
2024-11-21 13:41:08 +01:00
parent ee7fabc6c8
commit ebb42d9bd5
2 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ export default async function HotelPage() {
const {
hotelId,
hotelName,
hotelDescription,
hotelDescriptions,
hotelLocation,
hotelAddress,
hotelRatings,
@@ -83,7 +83,7 @@ export default async function HotelPage() {
<div className={styles.introContainer}>
<IntroSection
hotelName={hotelName}
hotelDescription={hotelDescription.descriptions.short}
hotelDescription={hotelDescriptions.descriptions.short}
location={hotelLocation}
address={hotelAddress}
tripAdvisor={hotelRatings?.tripAdvisor}
@@ -143,7 +143,7 @@ export default async function HotelPage() {
contact={contact}
socials={socials}
ecoLabels={ecoLabels}
descriptions={hotelDescription}
descriptions={hotelDescriptions}
/>
<SidePeek
contentKey={hotelPageParams.restaurantAndBar[lang]}

View File

@@ -342,7 +342,7 @@ export const hotelQueryRouter = router({
return {
hotelId,
hotelName: hotelAttributes.name,
hotelDescription: hotelAttributes.hotelContent.texts,
hotelDescriptions: hotelAttributes.hotelContent.texts,
hotelLocation: hotelAttributes.location,
hotelAddress: hotelAttributes.address,
hotelRatings: hotelAttributes.ratings,