Skip to content

Commit

Permalink
updated to use new external link component
Browse files Browse the repository at this point in the history
  • Loading branch information
garyjzhao committed Aug 30, 2023
1 parent 158aa3f commit bc67e75
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import { Trans, useTranslation } from 'react-i18next';
import { Link } from '@trussworks/react-uswds';

import Alert from 'components/shared/Alert';
import ExternalLink from 'components/shared/ExternalLink';
import { HelpSolutionType } from 'views/HelpAndKnowledge/SolutionsHelp/solutionsMap';

import { TimelineConfigType } from '../../Solutions/Generic/timeline';
Expand All @@ -27,14 +27,9 @@ const GatheringInfoAlert = ({ solution }: { solution: HelpSolutionType }) => {
>
<Trans i18nKey="gatheringInfoAlert.description">
In the meantime, contact the MINT Team at{' '}
<Link
aria-label="Open in a new tab"
href="mailto:MINTTeam@cms.hhs.gov"
target="_blank"
rel="noopener noreferrer"
>
<ExternalLink href="mailto:MINTTeam@cms.hhs.gov">
MINTTeam@cms.hhs.gov
</Link>{' '}
</ExternalLink>{' '}
{timelineConfig?.description
? timelineConfig.description
: t('gatheringInfoAlert.description2')}
Expand Down

0 comments on commit bc67e75

Please sign in to comment.