feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -30,13 +30,13 @@ export default function ShowMoreButton({
|
||||
|
||||
if (!textShowMore) {
|
||||
textShowMore = intl.formatMessage({
|
||||
id: "Show more",
|
||||
defaultMessage: "Show more",
|
||||
})
|
||||
}
|
||||
|
||||
if (!textShowLess) {
|
||||
textShowLess = intl.formatMessage({
|
||||
id: "Show less",
|
||||
defaultMessage: "Show less",
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user