feat(SW-750): change key name
This commit is contained in:
@@ -41,7 +41,7 @@ export default async function HotelPage() {
|
|||||||
const {
|
const {
|
||||||
hotelId,
|
hotelId,
|
||||||
hotelName,
|
hotelName,
|
||||||
hotelDescription,
|
hotelDescriptions,
|
||||||
hotelLocation,
|
hotelLocation,
|
||||||
hotelAddress,
|
hotelAddress,
|
||||||
hotelRatings,
|
hotelRatings,
|
||||||
@@ -83,7 +83,7 @@ export default async function HotelPage() {
|
|||||||
<div className={styles.introContainer}>
|
<div className={styles.introContainer}>
|
||||||
<IntroSection
|
<IntroSection
|
||||||
hotelName={hotelName}
|
hotelName={hotelName}
|
||||||
hotelDescription={hotelDescription.descriptions.short}
|
hotelDescription={hotelDescriptions.descriptions.short}
|
||||||
location={hotelLocation}
|
location={hotelLocation}
|
||||||
address={hotelAddress}
|
address={hotelAddress}
|
||||||
tripAdvisor={hotelRatings?.tripAdvisor}
|
tripAdvisor={hotelRatings?.tripAdvisor}
|
||||||
@@ -143,7 +143,7 @@ export default async function HotelPage() {
|
|||||||
contact={contact}
|
contact={contact}
|
||||||
socials={socials}
|
socials={socials}
|
||||||
ecoLabels={ecoLabels}
|
ecoLabels={ecoLabels}
|
||||||
descriptions={hotelDescription}
|
descriptions={hotelDescriptions}
|
||||||
/>
|
/>
|
||||||
<SidePeek
|
<SidePeek
|
||||||
contentKey={hotelPageParams.restaurantAndBar[lang]}
|
contentKey={hotelPageParams.restaurantAndBar[lang]}
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ export const hotelQueryRouter = router({
|
|||||||
return {
|
return {
|
||||||
hotelId,
|
hotelId,
|
||||||
hotelName: hotelAttributes.name,
|
hotelName: hotelAttributes.name,
|
||||||
hotelDescription: hotelAttributes.hotelContent.texts,
|
hotelDescriptions: hotelAttributes.hotelContent.texts,
|
||||||
hotelLocation: hotelAttributes.location,
|
hotelLocation: hotelAttributes.location,
|
||||||
hotelAddress: hotelAttributes.address,
|
hotelAddress: hotelAttributes.address,
|
||||||
hotelRatings: hotelAttributes.ratings,
|
hotelRatings: hotelAttributes.ratings,
|
||||||
|
|||||||
Reference in New Issue
Block a user