fix: persist selection of bed and breakfast if same room
This commit is contained in:
@@ -61,3 +61,14 @@ export type InitialState = Pick<DetailsState, "booking" | "packages"> &
|
||||
}
|
||||
|
||||
export type RoomRate = DetailsProviderProps["roomRate"]
|
||||
|
||||
export type PersistedState = Pick<
|
||||
DetailsState,
|
||||
"bedType" | "booking" | "breakfast" | "guest"
|
||||
>
|
||||
|
||||
export type PersistedStatePart =
|
||||
| Pick<DetailsState, "bedType">
|
||||
| Pick<DetailsState, "booking">
|
||||
| Pick<DetailsState, "breakfast">
|
||||
| Pick<DetailsState, "guest">
|
||||
|
||||
Reference in New Issue
Block a user