feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -30,7 +30,9 @@ export default function Navigation({
|
||||
size={20}
|
||||
className={styles.chevron}
|
||||
/>
|
||||
{intl.formatMessage({ id: "Previous" })}
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Previous",
|
||||
})}
|
||||
</Button>
|
||||
<Button
|
||||
variant="icon"
|
||||
@@ -39,7 +41,9 @@ export default function Navigation({
|
||||
onPress={() => showSurprise(1)}
|
||||
size="small"
|
||||
>
|
||||
{intl.formatMessage({ id: "Next" })}
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Next",
|
||||
})}
|
||||
<MaterialIcon icon="chevron_right" size={20} color="CurrentColor" />
|
||||
</Button>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user