From c6cc3ab264dc9e31dd5f75b46b2feccca5345757 Mon Sep 17 00:00:00 2001 From: Rob Donigian Date: Thu, 19 Dec 2024 11:19:57 -0500 Subject: [PATCH] conditional and verbage change --- .../Engagement/LanguageEngagement/Milestone/Milestone.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenes/Engagement/LanguageEngagement/Milestone/Milestone.tsx b/src/scenes/Engagement/LanguageEngagement/Milestone/Milestone.tsx index 020a4e99a..98f156538 100644 --- a/src/scenes/Engagement/LanguageEngagement/Milestone/Milestone.tsx +++ b/src/scenes/Engagement/LanguageEngagement/Milestone/Milestone.tsx @@ -121,14 +121,14 @@ export const LanguageEngagementMilestone = ({ engagement }: Props) => { required sx={{ width: 'fit-content' }} /> - ) : milestoneReached.value ? ( + ) : milestoneReached.value && milestoneReached.value !== 'Unknown' ? ( {LanguageMilestoneLabels[milestoneReached.value]} ) : ( Unknown{' '} - {milestoneReached.canEdit && '— click the edit pencil to add'} + {milestoneReached.canEdit && '— click the edit pencil to declare'} )}