From acd165688589d4435de92bfe3389de250690a798 Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Mon, 18 Nov 2024 15:30:25 +0100 Subject: [PATCH] feat(SW-750): add base url --- .../AboutTheHotel/ContactInformation/index.tsx | 11 +++++++---- .../SidePeeks/WellnessAndExercise/Facility/index.tsx | 2 +- .../hotelPage/sidepeek/contactInformation.ts | 4 ++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx b/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx index ed9e55b76..09824d10a 100644 --- a/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx +++ b/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx @@ -10,7 +10,10 @@ import { getLang } from "@/i18n/serverContext" import styles from "./contactInformation.module.css" -import type { ContactInformationProps } from "@/types/components/hotelPage/sidepeek/contactInformation" +import { + type ContactInformationProps, + GoogleMapsDirections, +} from "@/types/components/hotelPage/sidepeek/contactInformation" export default async function ContactInformation({ hotelAdress, @@ -41,7 +44,7 @@ export default async function ContactInformation({ {intl.formatMessage({ id: "Driving directions" })} - {ecoLabels.nordicEcoLabel ? ( + {ecoLabels.nordicEcoLabel && (
- ) : null} + )} ) diff --git a/components/ContentType/HotelPage/SidePeeks/WellnessAndExercise/Facility/index.tsx b/components/ContentType/HotelPage/SidePeeks/WellnessAndExercise/Facility/index.tsx index e00ed5964..3313a109b 100644 --- a/components/ContentType/HotelPage/SidePeeks/WellnessAndExercise/Facility/index.tsx +++ b/components/ContentType/HotelPage/SidePeeks/WellnessAndExercise/Facility/index.tsx @@ -16,7 +16,7 @@ export default async function Facility({ data }: FacilityProps) { return (
- {image.imageSizes.medium && ( + {image?.imageSizes.medium && (