import { getBookingConfirmation } from "@/lib/trpc/memoizedRequests" import Link from "@/components/TempDesignSystem/Link" import Body from "@/components/TempDesignSystem/Text/Body" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import { Toast } from "@/components/TempDesignSystem/Toasts" import { getIntl } from "@/i18n" import styles from "./hotelDetails.module.css" import type { BookingConfirmationProps } from "@/types/components/hotelReservation/bookingConfirmation/bookingConfirmation" export default async function HotelDetails({ confirmationNumber, }: BookingConfirmationProps) { const intl = await getIntl() const { hotel } = await getBookingConfirmation(confirmationNumber) return (