feat(SW-914): add correct import

This commit is contained in:
Fredrik Thorsson
2024-11-22 09:24:37 +01:00
parent 55628f903a
commit 49c6de2e04
2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
export { default as AboutTheHotelSidePeek } from "./AboutTheHotel"
<<<<<<< HEAD
export { default as RoomSidePeek } from "./Room"
=======
export { default as AmenitiesSidePeek } from "./Amenities"
>>>>>>> de3b70ce (feat(SW-914): add correct import)
export { default as WellnessAndExerciseSidePeek } from "./WellnessAndExercise"

View File

@@ -30,7 +30,11 @@ import PreviewImages from "./PreviewImages"
import { Rooms } from "./Rooms"
import {
AboutTheHotelSidePeek,
<<<<<<< HEAD
RoomSidePeek,
=======
AmenitiesSidePeek,
>>>>>>> de3b70ce (feat(SW-914): add correct import)
WellnessAndExerciseSidePeek,
} from "./SidePeeks"
import TabNavigation from "./TabNavigation"
@@ -177,6 +181,7 @@ export default async function HotelPage({ hotelId }: HotelPageProps) {
</>
) : null}
<SidePeekProvider>
<<<<<<< HEAD
<SidePeek
contentKey={amenities[lang]}
title={intl.formatMessage({ id: "Amenities" })}
@@ -184,6 +189,10 @@ export default async function HotelPage({ hotelId }: HotelPageProps) {
{/* TODO: Render amenities as per the design. */}
Read more about the amenities here
</SidePeek>
=======
{/* eslint-disable import/no-named-as-default-member */}
<AmenitiesSidePeek amenitiesList={hotelDetailedFacilities} />
>>>>>>> de3b70ce (feat(SW-914): add correct import)
<AboutTheHotelSidePeek
hotelAddress={address}
coordinates={location}
@@ -199,10 +208,7 @@ export default async function HotelPage({ hotelId }: HotelPageProps) {
{/* TODO */}
Restaurant & Bar
</SidePeek>
<WellnessAndExerciseSidePeek
healthFacilities={healthFacilities}
buttonUrl="#"
/>
<WellnessAndExerciseSidePeek healthFacilities={healthFacilities} />
<SidePeek
contentKey={activities[lang]}
title={intl.formatMessage({ id: "Activities" })}