feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -55,7 +55,9 @@ export default async function Rooms({
|
||||
{isMultiRoom && (
|
||||
<Typography variant="Title/sm">
|
||||
<h2 className={styles.title}>
|
||||
{intl.formatMessage({ id: "Your rooms" })}
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Your rooms",
|
||||
})}
|
||||
</h2>
|
||||
</Typography>
|
||||
)}
|
||||
@@ -91,7 +93,13 @@ export default async function Rooms({
|
||||
<div className={styles.totalContainer}>
|
||||
<div className={styles.total}>
|
||||
<Typography variant="Body/Lead text">
|
||||
<p>{intl.formatMessage({ id: "Booking total" })}:</p>
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Booking total",
|
||||
})}
|
||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||
{":"}
|
||||
</p>
|
||||
</Typography>
|
||||
<TotalPrice
|
||||
variant="Title/Subtitle/lg"
|
||||
|
||||
Reference in New Issue
Block a user