+ {/* TODO: Add Hotel Listing Card */}
+
Hotel Listing Card TBI
+
+
+
+ )
+}
diff --git a/components/HotelReservation/SelectRate/RoomSelection/index.tsx b/components/HotelReservation/SelectRate/RoomSelection/index.tsx
index d1be37221..51a56b4ad 100644
--- a/components/HotelReservation/SelectRate/RoomSelection/index.tsx
+++ b/components/HotelReservation/SelectRate/RoomSelection/index.tsx
@@ -5,11 +5,10 @@ import RoomCard from "./RoomCard"
import styles from "./roomSelection.module.css"
-import { RoomSelectionProps } from "@/types/components/hotelReservation/selectRate/section"
+import { RoomSelectionProps } from "@/types/components/hotelReservation/selectRate/roomSelection"
export default function RoomSelection({
- alternatives,
- nextPath,
+ rates,
nrOfNights,
nrOfAdults,
}: RoomSelectionProps) {
@@ -21,17 +20,17 @@ export default function RoomSelection({
const queryParams = new URLSearchParams(searchParams)
queryParams.set("roomClass", e.currentTarget.roomClass?.value)
queryParams.set("flexibility", e.currentTarget.flexibility?.value)
- router.push(`${nextPath}?${queryParams}`)
+ router.push(`select-bed?${queryParams}`)
}
return (