From 6f1d5129e9e21732f45cc0088d1c90ce51aa2596 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Fri, 13 Dec 2024 09:23:43 +0100 Subject: [PATCH] Removed type from enum --- .../(public)/hotelreservation/(standard)/step/page.tsx | 5 +++-- .../SelectHotel/SelectHotelMap/SelectHotelMapContainer.tsx | 5 +++-- components/HotelReservation/SelectHotel/index.tsx | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx index e6428d9af..0ba6d31b9 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx @@ -36,10 +36,11 @@ import styles from "./page.module.css" import { ChildBedMapEnum } from "@/types/components/bookingWidget/enums" import type { SelectRateSearchParams } from "@/types/components/hotelReservation/selectRate/selectRate" -import type { +import { TrackingChannelEnum, TrackingSDKHotelInfo, - TrackingSDKPageData} from "@/types/components/tracking"; + TrackingSDKPageData, +} from "@/types/components/tracking" import { StepEnum } from "@/types/enums/step" import type { LangParams, PageArgs } from "@/types/params" diff --git a/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContainer.tsx b/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContainer.tsx index f2b91f329..3acbe0c8b 100644 --- a/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContainer.tsx +++ b/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContainer.tsx @@ -20,10 +20,11 @@ import type { NullableHotelData, } from "@/types/components/hotelReservation/selectHotel/hotelCardListingProps" import type { SelectHotelMapContainerProps } from "@/types/components/hotelReservation/selectHotel/map" -import type { +import { TrackingChannelEnum, TrackingSDKHotelInfo, - TrackingSDKPageData} from "@/types/components/tracking"; + TrackingSDKPageData, +} from "@/types/components/tracking" import type { Lang } from "@/constants/languages" function isValidHotelData(hotel: NullableHotelData): hotel is HotelData { diff --git a/components/HotelReservation/SelectHotel/index.tsx b/components/HotelReservation/SelectHotel/index.tsx index 4b866cd49..dd756752f 100644 --- a/components/HotelReservation/SelectHotel/index.tsx +++ b/components/HotelReservation/SelectHotel/index.tsx @@ -32,10 +32,11 @@ import styles from "./selectHotel.module.css" import { ChildBedMapEnum } from "@/types/components/bookingWidget/enums" import type { HotelData } from "@/types/components/hotelReservation/selectHotel/hotelCardListingProps" import type { SelectHotelProps } from "@/types/components/hotelReservation/selectHotel/selectHotel" -import type { +import { TrackingChannelEnum, TrackingSDKHotelInfo, - TrackingSDKPageData} from "@/types/components/tracking"; + TrackingSDKPageData, +} from "@/types/components/tracking" import { AlertTypeEnum } from "@/types/enums/alert" import type { Lang } from "@/constants/languages"