feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -40,7 +40,10 @@ export default async function FooterDetails() {
|
||||
<div className={styles.copyrightContainer}>
|
||||
<Footnote type="label" textTransform="uppercase">
|
||||
{intl.formatMessage(
|
||||
{ id: "© {currentYear} Scandic AB All rights reserved" },
|
||||
{
|
||||
defaultMessage:
|
||||
"© {currentYear} Scandic AB All rights reserved",
|
||||
},
|
||||
{ currentYear }
|
||||
)}
|
||||
</Footnote>
|
||||
@@ -99,7 +102,10 @@ export async function FooterDetailsSkeleton() {
|
||||
<div className={styles.copyrightContainer}>
|
||||
<Footnote type="label" textTransform="uppercase">
|
||||
{intl.formatMessage(
|
||||
{ id: "© {currentYear} Scandic AB All rights reserved" },
|
||||
{
|
||||
defaultMessage:
|
||||
"© {currentYear} Scandic AB All rights reserved",
|
||||
},
|
||||
{ currentYear }
|
||||
)}
|
||||
</Footnote>
|
||||
|
||||
Reference in New Issue
Block a user