Fix: created util to handle searchParams for hotelreservation
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
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 { SelectHotelSearchParams } from "./selectHotelSearchParams"
|
||||
|
||||
export enum AvailabilityEnum {
|
||||
@@ -46,9 +45,9 @@ export interface SelectHotelProps {
|
||||
lang: Lang
|
||||
}
|
||||
reservationParams: {
|
||||
selectHotelParams: URLSearchParams
|
||||
selectHotelParams: URLSearchParams | undefined
|
||||
searchParams: SelectHotelSearchParams
|
||||
adultsParams: number
|
||||
childrenParams: string | undefined
|
||||
adultsInRoom: number
|
||||
childrenInRoom: string | undefined
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user