Skip to content

Commit

Permalink
title fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
vd1992 committed Jan 29, 2025
1 parent a8c03b8 commit 683a9b6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import ExclamationTriangleIcon from "@heroicons/react/20/solid/ExclamationTriang

import { FragmentType, getFragment, graphql } from "@gc-digital-talent/graphql";
import { HeadingLevel, PreviewList } from "@gc-digital-talent/ui";
import { commonMessages } from "@gc-digital-talent/i18n";

export const PreviewListItemFunctionalCommunity_Fragment = graphql(

Check warning on line 12 in apps/web/src/pages/ApplicantDashboardPage/components/FunctionalCommunityListItem.tsx

View workflow job for this annotation

GitHub Actions / Lint

exported declaration 'PreviewListItemFunctionalCommunity_Fragment' not used within other modules
/* GraphQL */ `
Expand Down Expand Up @@ -177,7 +178,8 @@ const FunctionalCommunityListItem = ({
<>
<PreviewList.Item
title={
functionalCommunityListItemFragment?.community?.name?.localized ?? ""
functionalCommunityListItemFragment?.community?.name?.localized ??
intl.formatMessage(commonMessages.notAvailable)
}
metaData={metaDataProps}
// action={<CommunityInterestDialog title={title} id={request.id} />}
Expand Down

0 comments on commit 683a9b6

Please sign in to comment.