import { SelectHotelPage as SelectHotelPagePrimitive } from "@scandic-hotels/booking-flow/pages/SelectHotelPage" import { AlertTypeEnum } from "@scandic-hotels/common/constants/alert" import { toCapitalCase } from "@scandic-hotels/common/utils/toCapitalCase" import { Alert } from "@scandic-hotels/design-system/Alert" import { bookingFlowConfig } from "@/constants/bookingFlowConfig" import { getIntl } from "@/i18n" import { getLang } from "@/i18n/serverContext" import type { Metadata } from "next" import type { LangParams, PageArgs } from "@/types/params" export async function generateMetadata({ searchParams, }: PageArgs): Promise { const { city } = await searchParams if (!city || Array.isArray(city)) { return {} } return { title: `${toCapitalCase(city)}`, } } export default async function SelectHotelPage(props: PageArgs) { const searchParams = await props.searchParams const lang = await getLang() const intl = await getIntl() return ( ) : undefined } /> ) }