Merged in feat/BOOK-479-scandic-go-hotels-rm-brf- (pull request #3143)

feat(BOOK-479): Updated breakfast UI for ScandicGo hotels

Approved-by: Erik Tiekstra
This commit is contained in:
Hrishikesh Vaipurkar
2025-11-18 13:03:46 +00:00
parent 93c481fea8
commit 4c0daf8062
23 changed files with 144 additions and 213 deletions

View File

@@ -36,6 +36,7 @@ export const EnterDetailsContext = createContext<EnterDetailsStore | null>(null)
type DetailsProviderProps = React.PropsWithChildren & {
booking: DetailsBooking
breakfastPackages: BreakfastPackages
hotelOffersBreakfast: boolean
lang: Lang
rooms: Room[]
searchParamsStr: string
@@ -49,6 +50,7 @@ export default function EnterDetailsProvider({
booking,
breakfastPackages,
children,
hotelOffersBreakfast,
lang,
rooms,
searchParamsStr,
@@ -67,6 +69,7 @@ export default function EnterDetailsProvider({
if (!storeRef.current) {
const initialData: InitialState = {
booking,
hotelOffersBreakfast,
rooms: rooms
.filter((r) => r.bedTypes?.length) // TODO: how to handle room without bedtypes?
.map((room) => ({