Skip to content

Commit 0bd6e6a

Browse files
committed
TCA-1048 - clear text on course card on homepage
1 parent 3fad7bb commit 0bd6e6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src-ts/tools/learn/welcome/courses-card/CoursesCard.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import classNames from 'classnames'
33

44
import { Button, FccLogoBlackSvg, IconSolid, ProgressBar } from '../../../../lib'
55
import {
6+
clearFCCCertificationTitle,
67
CompletionTimeRange,
78
CourseBadge,
89
LearnCertification,
@@ -67,7 +68,7 @@ const CoursesCard: FC<CoursesCardProps> = (props: CoursesCardProps) => {
6768
<div className={styles.cardHeader}>
6869
<CourseBadge type={props.certification.certificationCategory.track ?? 'DEV'} />
6970
<div className={styles.cardHeaderTitleWrap}>
70-
<p className='body-medium-medium'>{props.certification.title}</p>
71+
<p className='body-medium-medium'>{clearFCCCertificationTitle(props.certification.title)}</p>
7172
<div className={styles.subTitleWrap}>
7273
<LearnLevelIcon level={props.certification.learnerLevel} />
7374
<span className={classNames('body-small', styles.infoText)}>

0 commit comments

Comments
 (0)