feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -43,7 +43,7 @@ export default function LanguageSwitcherContainer({
|
||||
<Subtitle type="one" asChild>
|
||||
<span>
|
||||
{intl.formatMessage({
|
||||
id: "Main menu",
|
||||
defaultMessage: "Main menu",
|
||||
})}
|
||||
</span>
|
||||
</Subtitle>
|
||||
@@ -56,7 +56,7 @@ export default function LanguageSwitcherContainer({
|
||||
type="button"
|
||||
className={styles.closeButton}
|
||||
aria-label={intl.formatMessage({
|
||||
id: "Close menu",
|
||||
defaultMessage: "Close menu",
|
||||
})}
|
||||
onClick={() => toggleDropdown(position)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user