diff --git a/src/components/layouts/collection-page-layout.tsx b/src/components/layouts/collection-page-layout.tsx index b32d7e07d..cea5bd15e 100644 --- a/src/components/layouts/collection-page-layout.tsx +++ b/src/components/layouts/collection-page-layout.tsx @@ -458,12 +458,12 @@ const CollectionPageLayout: React.FunctionComponent< {lessons.length + playlistLessons.length} lessons {courseProgress?.completed_lesson_count && - courseProgress?.completed_lesson_count < - courseProgress.lesson_count && ( - - ({courseProgress?.completed_lesson_count} watched) - - )} + courseProgress?.completed_lesson_count < + courseProgress?.lesson_count ? ( + + ({courseProgress?.completed_lesson_count} watched) + + ) : null}