Merged in fix/SW-1103-page-loading (pull request #1181)
Fix/SW-1103 page loading * feat(SW-1103): Move backend req behinde suspense * fix/SW-1103 fix merge conflicts Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -65,9 +65,5 @@ export interface HotelCardDialogListingProps {
|
||||
}
|
||||
|
||||
export type SelectHotelMapContainerProps = {
|
||||
city: Location
|
||||
selectHotelParams: SelectHotelSearchParams
|
||||
adultsInRoom: number
|
||||
childrenInRoomString: string | undefined
|
||||
childrenInRoom: Child[] | undefined
|
||||
searchParams: SelectHotelSearchParams
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import type { CheckInData, Hotel, ParkingData } from "@/types/hotel"
|
||||
import type { Location } from "@/types/trpc/routers/hotel/locations"
|
||||
import type { Lang } from "@/constants/languages"
|
||||
import type { Child } from "../selectRate/selectRate"
|
||||
import type { SelectHotelSearchParams } from "./selectHotelSearchParams"
|
||||
|
||||
export enum AvailabilityEnum {
|
||||
@@ -41,14 +39,8 @@ export interface MeetingsAndConferencesProps {
|
||||
}
|
||||
|
||||
export interface SelectHotelProps {
|
||||
city: Location
|
||||
params: {
|
||||
lang: Lang
|
||||
}
|
||||
reservationParams: {
|
||||
selectHotelParams: SelectHotelSearchParams
|
||||
adultsInRoom: number
|
||||
childrenInRoomString: string | undefined
|
||||
childrenInRoom: Child[] | undefined
|
||||
}
|
||||
searchParams: SelectHotelSearchParams
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user