feat(WEB-220): label translations
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import { _ } from "@/lib/translation"
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
|
||||
import styles from "./emptyPreviousStays.module.css"
|
||||
|
||||
export default function EmptyPreviousStaysBlock() {
|
||||
const { formatMessage } = useIntl()
|
||||
return (
|
||||
<section className={styles.container}>
|
||||
<Title as="h5" level="h3">
|
||||
{_("You have no previous stays.")}
|
||||
{formatMessage({ id: "You have no previous stays." })}
|
||||
</Title>
|
||||
</section>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user