feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -12,7 +12,11 @@ export default async function Contact({ contactBlock }: ContactProps) {
|
||||
const intl = await getIntl()
|
||||
return (
|
||||
<article className={styles.contactContainer}>
|
||||
<Subtitle>{intl.formatMessage({ id: "Contact us" })}</Subtitle>
|
||||
<Subtitle>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Contact us",
|
||||
})}
|
||||
</Subtitle>
|
||||
<section className={styles.contact}>
|
||||
{contactBlock.map((contact, i) => {
|
||||
switch (contact.typename) {
|
||||
|
||||
Reference in New Issue
Block a user