feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -10,7 +10,9 @@ export default function BookingButton({ href }: { href: string }) {
|
||||
const intl = useIntl()
|
||||
return (
|
||||
<a className={styles.button} href={href}>
|
||||
{intl.formatMessage({ id: "Book" })}
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Book",
|
||||
})}
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user