Skip to content

Commit

Permalink
move id to before default message
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebPena committed Nov 14, 2023
1 parent 7422e0f commit 7ba5b7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Components/Results/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const Results = ({ handleTextFieldChange }: ResultsProps) => {
</p>
{navigator.assistance_link.default_message && (
<h4 className="font-weight">
<FormattedMessage defaultMessage="Link: " id="navigator.linkLabel" />
<FormattedMessage id="navigator.linkLabel" defaultMessage="Link: " />
<a
className="ineligibility-link navigator-info"
href={intl.formatMessage({
Expand All @@ -362,15 +362,15 @@ const Results = ({ handleTextFieldChange }: ResultsProps) => {
)}
{navigator.email.default_message && (
<h4 className="font-weight">
<FormattedMessage defaultMessage="Email: " id="navigator.emailLabel" />
<FormattedMessage id="navigator.emailLabel" defaultMessage="Email: " />
<span className="navigator-info">
<FormattedMessage defaultMessage={navigator.email.default_message} id={navigator.email.label} />
</span>
</h4>
)}
{navigator.phone_number && (
<h4 className="font-weight">
<FormattedMessage defaultMessage="Phone Number: " id="navigator.phoneLabel" />
<FormattedMessage id="navigator.phoneLabel" defaultMessage="Phone Number: " />
<span className="navigator-info">{formatPhoneNumber(navigator.phone_number)}</span>
</h4>
)}
Expand Down

0 comments on commit 7ba5b7c

Please sign in to comment.