Merged in fix/hoteinfocard-pass-hotel (pull request #1295)

feat:hotel info card - pass hoteldata since we already fetching it on page level

* feat:hotel info card - pass hoteldata since we already fetching it on page level
This commit is contained in:
Linus Flood
2025-02-10 14:31:41 +00:00
parent ec8db51c47
commit 5a0edc9187
3 changed files with 6 additions and 32 deletions

View File

@@ -1,11 +1,5 @@
import type { Lang } from "@/constants/languages"
import type { Child } from "./selectRate"
import type { HotelData } from "@/types/hotel"
export interface HotelInfoCardProps {
adultArray: number[]
childArray?: Child[]
fromDate: Date
hotelId: number
lang: Lang
toDate: Date
hotelData: HotelData | null
}