Skip to content

Commit

Permalink
chore: fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlight-komorebi committed Dec 15, 2021
1 parent 3558867 commit 4dd61f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/MachineTranslationCallout.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const MachineTranslationCallout = ({ englishHref }) => {
const { t } = useTranslation();
return (
<Callout
variant='important'
title=' '
variant="important"
title=" "
css={css`
margin: 2em 0;
padding: 0.5em;
Expand All @@ -40,24 +40,24 @@ const MachineTranslationCallout = ({ englishHref }) => {
}
`}
>
<Icon name='globe' size='2em' />
<Icon name="globe" size="2em" />
<div>
<h4>{t('machineTranslation.calloutHeading')}</h4>
<Trans i18nKey='machineTranslation.calloutBody' parent='p'>
<Trans i18nKey="machineTranslation.calloutBody" parent="p">
In the event of any inconsistency between the English version and
the translated version, the{' '}
<Link to={englishHref} shouldAutoLocalize={false}>
English version
</Link>
will take priority. Please visit{' '}
<Link to='/docs/licenses/translated-documentation/translation-disclaimer/'>
<Link to="/docs/licenses/translated-documentation/translation-disclaimer/">
this page
</Link>{' '}
for more information.
</Trans>
</div>
<CreateIssueButton
variant='outline'
variant="outline"
css={css`
border-color: #8a7800;
`}
Expand Down

0 comments on commit 4dd61f3

Please sign in to comment.