import { MyStay } from "@/components/HotelReservation/MyStay/MyStay"
import { setLang } from "@/i18n/serverContext"

import { response } from "./temporary_response"

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

export default async function MyStayPage({ params }: PageArgs<LangParams>) {
  setLang(params.lang)

  return (
    <MyStay
      hotel={response.hotel}
      booking={response.booking}
      room={response.room}
    />
  )
}
