Merged in fix/SW-2884-select-hotel-page-users-are-di (pull request #2438)

fix: SW-2884 Fixed Alternative hotels map navigation issues

* fix: SW-2884 Fixed Alternative hotels map navigation issues

* fix: SW-2884 Optmized code


Approved-by: Arvid Norlin
This commit is contained in:
Hrishikesh Vaipurkar
2025-06-27 08:05:26 +00:00
parent 01ca2b4897
commit edca03decf
9 changed files with 29 additions and 7 deletions

View File

@@ -17,6 +17,7 @@ export type HotelCardListingProps = {
hotelData: HotelResponse[]
unfilteredHotelCount?: number
type?: HotelCardListingTypeEnum
isAlternative?: boolean
}
export interface NullableHotelData extends Omit<HotelData, "hotelData"> {

View File

@@ -7,4 +7,5 @@ export type HotelCardProps = {
type?: HotelCardListingTypeEnum
state?: "default" | "active"
bookingCode?: string | null
isAlternative?: boolean
}

View File

@@ -22,6 +22,7 @@ export interface SelectHotelMapProps {
cityCoordinates: Coordinates
bookingCode: string | undefined
isBookingCodeRateAvailable?: boolean
isAlternativeHotels?: boolean
}
type ImageSizes = z.infer<typeof imageSchema>["imageSizes"]