feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -54,7 +54,11 @@ export default async function JoinLoyaltyContact({
|
||||
</Button>
|
||||
) : null}
|
||||
<section className={styles.loginContainer}>
|
||||
<Body>{intl.formatMessage({ id: "Already a friend?" })}</Body>
|
||||
<Body>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Already a friend?",
|
||||
})}
|
||||
</Body>
|
||||
<LoginButton
|
||||
className={styles.link}
|
||||
trackingId="loginJoinLoyalty"
|
||||
@@ -67,7 +71,9 @@ export default async function JoinLoyaltyContact({
|
||||
className={styles.icon}
|
||||
size={20}
|
||||
/>
|
||||
{intl.formatMessage({ id: "Log in here" })}
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Log in here",
|
||||
})}
|
||||
</LoginButton>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user