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:
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user