feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -15,17 +15,25 @@ export default async function ReadMore() {
|
||||
const links = [
|
||||
{
|
||||
href: faq[lang],
|
||||
text: intl.formatMessage({ id: "FAQ" }),
|
||||
text: intl.formatMessage({
|
||||
defaultMessage: "FAQ",
|
||||
}),
|
||||
},
|
||||
{
|
||||
href: membershipTermsAndConditions[lang],
|
||||
text: intl.formatMessage({ id: "Membership terms and conditions" }),
|
||||
text: intl.formatMessage({
|
||||
defaultMessage: "Membership terms and conditions",
|
||||
}),
|
||||
},
|
||||
]
|
||||
|
||||
return (
|
||||
<article className={styles.wrapper}>
|
||||
<Subtitle>{intl.formatMessage({ id: "Read more" })}</Subtitle>
|
||||
<Subtitle>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Read more",
|
||||
})}
|
||||
</Subtitle>
|
||||
<div className={styles.links}>
|
||||
{links.map((link) => (
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user