import { EnterDetailsPage as EnterDetailsPagePrimitive } from "@scandic-hotels/booking-flow/pages/EnterDetailsPage"

import type { LangParams, PageArgs } from "@/types/params"

export default async function DetailsPage(props: PageArgs<LangParams>) {
  const { lang } = await props.params
  const searchParams = await props.searchParams

  return <EnterDetailsPagePrimitive lang={lang} searchParams={searchParams} />
}
