18 lines
487 B
TypeScript
18 lines
487 B
TypeScript
import Title from "@/components/TempDesignSystem/Text/Title"
|
|
import { getIntl } from "@/i18n"
|
|
|
|
import styles from "./emptyPreviousStays.module.css"
|
|
|
|
export default async function EmptyPreviousStaysBlock() {
|
|
const { formatMessage } = await getIntl()
|
|
return (
|
|
<section className={styles.container}>
|
|
<Title as="h4" level="h3" color="red" textAlign="center">
|
|
{formatMessage({
|
|
id: "You have no previous stays.",
|
|
})}
|
|
</Title>
|
|
</section>
|
|
)
|
|
}
|