diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/page.tsx index cdbfa14b6..ea2c9305b 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/page.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/page.tsx @@ -1,5 +1,3 @@ -import { env } from "@/env/server" - import TrackingSDK from "@/components/TrackingSDK" import styles from "./page.module.css" @@ -11,10 +9,6 @@ import { import type { LangParams, PageArgs } from "@/types/params" export default function HotelReservationPage({ params }: PageArgs) { - if (env.NEW_SITE_LIVE_STATUS === "NOT_LIVE") { - return null - } - const pageTrackingData: TrackingSDKPageData = { pageId: "hotelreservation", domainLanguage: params.lang, diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx index ffee19a76..6de8a694f 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx @@ -14,9 +14,5 @@ export async function generateMetadata({ params }: PageArgs) { export default function HotelReservationLayout({ children, }: React.PropsWithChildren) { - if (env.NEW_SITE_LIVE_STATUS === "NOT_LIVE") { - return null - } - return <>{children} } diff --git a/apps/scandic-web/app/[lang]/(live)/@bookingwidget/hotelreservation/page.tsx b/apps/scandic-web/app/[lang]/(live)/@bookingwidget/hotelreservation/page.tsx index a0558fbcb..68de93f90 100644 --- a/apps/scandic-web/app/[lang]/(live)/@bookingwidget/hotelreservation/page.tsx +++ b/apps/scandic-web/app/[lang]/(live)/@bookingwidget/hotelreservation/page.tsx @@ -1,5 +1,3 @@ -import { env } from "@/env/server" - import { BookingWidget } from "@/components/BookingWidget" import type { BookingWidgetSearchData } from "@/types/components/bookingWidget" @@ -8,9 +6,5 @@ import type { LangParams, PageArgs } from "@/types/params" export default async function BookingWidgetPage({ searchParams, }: PageArgs) { - if (env.NEW_SITE_LIVE_STATUS === "NOT_LIVE") { - return null - } - return }