feat(SW-1523): foundation for my stay page * feat(SW-1523): foundation for my stay page This is the base page for the my stay page. It is very much hard coded and all components need to get a design update afterwards. But this is to get the page going! * fix(i18n): messages Approved-by: Michael Zetterberg Approved-by: Christian Andolf
19 lines
452 B
TypeScript
19 lines
452 B
TypeScript
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}
|
|
/>
|
|
)
|
|
}
|