fix(SW-998): fix issues related to non-english languages * fix(SW-998): reverse price logic Approved-by: Niclas Edenvin
25 lines
617 B
TypeScript
25 lines
617 B
TypeScript
import { useIntl } from "react-intl"
|
|
|
|
import { ErrorCircleIcon } from "@/components/Icons"
|
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
|
|
|
import styles from "./noPriceAvailable.module.css"
|
|
|
|
export default function NoPriceAvailableCard() {
|
|
const intl = useIntl()
|
|
return (
|
|
<div className={styles.priceCard}>
|
|
<div className={styles.noRooms}>
|
|
<div>
|
|
<ErrorCircleIcon color="red" />
|
|
</div>
|
|
<Body>
|
|
{intl.formatMessage({
|
|
id: "There are no rooms available that match your request.",
|
|
})}
|
|
</Body>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|