import { useParams } from "next/dist/client/components/navigation" import { useIntl } from "react-intl" import { Lang } from "@/constants/languages" import { selectRate } from "@/constants/routes/hotelReservation" import { ErrorCircleIcon } from "@/components/Icons" import Button from "@/components/TempDesignSystem/Button" import Link from "@/components/TempDesignSystem/Link" import Body from "@/components/TempDesignSystem/Text/Body" import HotelPriceCard from "./HotelPriceCard" import styles from "./hotelPriceList.module.css" import { HotelPriceListProps } from "@/types/components/hotelReservation/selectHotel/hotePriceListProps" export default function HotelPriceList({ price, hotelId, }: HotelPriceListProps) { const intl = useIntl() const params = useParams() const lang = params.lang as Lang return (