From d83126d1333a40f72a53b076d00e31519425c6ee Mon Sep 17 00:00:00 2001 From: Pontus Dreij Date: Wed, 6 Nov 2024 09:23:16 +0100 Subject: [PATCH] feat(SW-343): Added flag --- .../(standard)/select-hotel/@modal/(.)map/page.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-hotel/@modal/(.)map/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-hotel/@modal/(.)map/page.tsx index eadd81bbb..667d43ad6 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-hotel/@modal/(.)map/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-hotel/@modal/(.)map/page.tsx @@ -22,6 +22,10 @@ export default async function SelectHotelMapPage({ params, searchParams, }: PageArgs) { + if (env.HIDE_FOR_NEXT_RELEASE) { + return notFound() + } + setLang(params.lang) const locations = await getLocations()