Skip to content

Commit

Permalink
self-close components
Browse files Browse the repository at this point in the history
  • Loading branch information
vd1992 committed Jan 29, 2025
1 parent dff254d commit a8c03b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const CareerDevelopmentTaskCard = ({
{moveInterestsMapped ? (
<MoveInterestsList
moveInterests={moveInterestsMapped}
></MoveInterestsList>
/>
) : (
<p data-h2-color="base(error.darker) base:dark(error.lightest)">
{intl.formatMessage({
Expand All @@ -199,7 +199,7 @@ const CareerDevelopmentTaskCard = ({
organizationTypeInterests={
organizationTypeInterestsMapped
}
></OrganizationTypeInterestsList>
/>
) : (
<p data-h2-color="base(error.darker) base:dark(error.lightest)">
{intl.formatMessage({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ const FunctionalCommunityListItem = ({

const interestedWork = (
<span>
<BriefcaseIcon
data-h2-color="base(success)"
{...sharedIconStyling}
></BriefcaseIcon>
<BriefcaseIcon data-h2-color="base(success)" {...sharedIconStyling} />
{intl.formatMessage({
defaultMessage: "Interested in work",
id: "1VKNrs",
Expand All @@ -69,10 +66,7 @@ const FunctionalCommunityListItem = ({
);
const notInterestedWork = (
<span>
<XCircleIcon
data-h2-color="base(gray.lighter)"
{...sharedIconStyling}
></XCircleIcon>
<XCircleIcon data-h2-color="base(gray.lighter)" {...sharedIconStyling} />
{intl.formatMessage({
defaultMessage: "Not interested in work",
id: "VDVRPt",
Expand All @@ -86,7 +80,7 @@ const FunctionalCommunityListItem = ({
<ExclamationTriangleIcon
data-h2-color="base(error)"
{...sharedIconStyling}
></ExclamationTriangleIcon>
/>
<span data-h2-color="base(error.darker) base:dark(error.lightest)">
{intl.formatMessage({
defaultMessage: "Missing work info",
Expand All @@ -112,7 +106,7 @@ const FunctionalCommunityListItem = ({
<PresentationChartLineIcon
data-h2-color="base(success)"
{...sharedIconStyling}
></PresentationChartLineIcon>
/>
{intl.formatMessage({
defaultMessage: "Interested in training",
id: "ERsZAD",
Expand All @@ -123,10 +117,7 @@ const FunctionalCommunityListItem = ({
);
const notInterestedTraining = (
<span>
<XCircleIcon
data-h2-color="base(gray.lighter)"
{...sharedIconStyling}
></XCircleIcon>
<XCircleIcon data-h2-color="base(gray.lighter)" {...sharedIconStyling} />
{intl.formatMessage({
defaultMessage: "Not interested in training",
id: "8wU0cq",
Expand All @@ -140,7 +131,7 @@ const FunctionalCommunityListItem = ({
<ExclamationTriangleIcon
data-h2-color="base(error)"
{...sharedIconStyling}
></ExclamationTriangleIcon>
/>
<span data-h2-color="base(error.darker) base:dark(error.lightest)">
{intl.formatMessage({
defaultMessage: "Missing training info",
Expand Down

0 comments on commit a8c03b8

Please sign in to comment.