fix: we showed duplicate rooms because every bed represents a room

This commit is contained in:
Simon Emanuelsson
2025-03-19 10:01:05 +01:00
parent 200ed55a2c
commit cf91d3d947
12 changed files with 356 additions and 234 deletions

View File

@@ -1,5 +1,5 @@
import type { HotelData } from "@/types/hotel"
import type { Hotel } from "@/types/hotel"
export interface HotelInfoCardProps {
hotelData: HotelData | null
hotel: Hotel
}

View File

@@ -8,8 +8,7 @@ export interface RoomsContainerProps {
bookingCode?: string
childArray: ChildrenInRoom
fromDate: Date
hotelData: HotelData | null
hotelId: number
hotelData: HotelData
isUserLoggedIn: boolean
toDate: Date
}