feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -22,7 +22,9 @@ export default function Error({
|
||||
<p>
|
||||
<strong>
|
||||
{intl.formatMessage(
|
||||
{ id: "Error loading this page ({errorId})" },
|
||||
{
|
||||
defaultMessage: "Error loading this page ({errorId})",
|
||||
},
|
||||
{
|
||||
errorId: `${error.digest}@${Date.now()}`,
|
||||
}
|
||||
|
||||
@@ -37,7 +37,11 @@ export default async function MyPages({}: PageArgs<
|
||||
{content?.length ? (
|
||||
<Blocks blocks={content} />
|
||||
) : (
|
||||
<p>{intl.formatMessage({ id: "No content published" })}</p>
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "No content published",
|
||||
})}
|
||||
</p>
|
||||
)}
|
||||
</main>
|
||||
<TrackingSDK pageData={tracking} />
|
||||
|
||||
Reference in New Issue
Block a user