diff --git a/components/HotelReservation/SelectRate/RoomSelection/index.tsx b/components/HotelReservation/SelectRate/RoomSelection/index.tsx index efe5778d1..38745e241 100644 --- a/components/HotelReservation/SelectRate/RoomSelection/index.tsx +++ b/components/HotelReservation/SelectRate/RoomSelection/index.tsx @@ -43,10 +43,13 @@ export default function RoomSelection({ rateSummary.member.rateCode ) } + if (selectedPackages.length > 0) { + params.set(`room[${index}].packages`, selectedPackages.join(",")) + } }) return params - }, [searchParams, rateSummary]) + }, [searchParams, rateSummary, selectedPackages]) function handleSubmit(e: React.FormEvent) { e.preventDefault()