Merged in feat/refactor-select-rate (pull request #1402)

Select-rate: refactor - converted RoomsContainer into a client component

* feat/select-rate - refactor and fixed duplicate key warning

* Rooms as client component

* Fixed lang in input

* It works

* Cleanup

* Cleanup

* PR fixes


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-02-25 08:40:36 +00:00
parent cf3268bda3
commit e2749f5593
11 changed files with 226 additions and 273 deletions
@@ -1,4 +1,4 @@
import type { Lang } from "@/constants/languages"
import type { HotelData } from "@/types/hotel"
import type { Child, SelectRateSearchParams } from "./selectRate"
export interface RoomsContainerProps {
@@ -7,6 +7,6 @@ export interface RoomsContainerProps {
childArray?: Child[]
fromDate: Date
hotelId: number
lang: Lang
toDate: Date
hotelData: HotelData | null
}