Hotel info TBI
-
{rooms.map((room) => (
-
import { serverClient } from "@/lib/trpc/server" import RoomCard from "@/components/HotelReservation/SelectRate/RoomCard" import Header from "@/components/Section/Header" import { getIntl } from "@/i18n" import styles from "./page.module.css" export default async function SelectRate() { const { formatMessage } = await getIntl() const rooms = await serverClient().hotel.getRates({ // TODO: pass the correct hotel ID and all other parameters that should be included in the search hotelId: "1", }) return (