feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -24,7 +24,14 @@ export default function Points({
|
||||
return (
|
||||
<Typography variant={variant}>
|
||||
<p>
|
||||
{intl.formatNumber(points)} {intl.formatMessage({ id: "Points" })}
|
||||
{intl.formatNumber(points)}
|
||||
{
|
||||
/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */
|
||||
" "
|
||||
}
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Points",
|
||||
})}
|
||||
</p>
|
||||
</Typography>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user