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" export { default as AboutTheHotelSidePeek } from "./AboutTheHotel"
<<<<<<< HEAD
export { default as RoomSidePeek } from "./Room" 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" export { default as WellnessAndExerciseSidePeek } from "./WellnessAndExercise"

View File

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