diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx index 23e68164d..1e1787d75 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx @@ -28,8 +28,7 @@ export default async function SelectRatePage({ } const hotel = locations.data.find( (location) => - //@ts-ignore - location.operaId == searchParams.hotel + "operaId" in location && location.operaId == searchParams.hotel ) if (!hotel) { return notFound()