From fc27339aff740269524134b2cb7e8b8600897908 Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Mon, 18 Nov 2024 13:43:34 +0100 Subject: [PATCH] feat(SW-750): refactor types --- .../AboutTheHotel/ContactInformation/index.tsx | 6 +++--- .../HotelPage/SidePeeks/AboutTheHotel/index.tsx | 2 +- .../hotelPage/sidepeek/contactInformation.ts | 16 +++++----------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx b/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx index c2b041b23..a906bc95f 100644 --- a/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx +++ b/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx @@ -13,7 +13,7 @@ import styles from "./contactInformation.module.css" import type { ContactInformationProps } from "@/types/components/hotelPage/sidepeek/contactInformation" export default async function ContactInformation({ - adress, + hotelAdress, coordinates, contact, socials, @@ -31,8 +31,8 @@ export default async function ContactInformation({ {intl.formatMessage({ id: "Address" })} - {adress.streetAddress} - {adress.city} + {hotelAdress.streetAddress} + {hotelAdress.city}
diff --git a/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/index.tsx b/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/index.tsx index c61809406..d709c4a7c 100644 --- a/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/index.tsx +++ b/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/index.tsx @@ -33,7 +33,7 @@ export default async function AboutTheHotelSidePeek({ >