File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src-ts/tools/learn/tca-certificate/validate-certificate Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import {
33
33
} from '../../learn-lib'
34
34
import { EnvironmentConfig } from '../../../../config'
35
35
import { getTCACertificationValidationUrl } from '../../learn.routes'
36
- import { hideSiblings } from '../../learn-lib/functions'
36
+ import { clearFCCCertificationTitle , hideSiblings } from '../../learn-lib/functions'
37
37
38
38
import styles from './ValidateTCACertificate.module.scss'
39
39
@@ -70,7 +70,9 @@ const ValidateTCACertificate: FC<{}> = () => {
70
70
= useMemo ( ( ) => courses ?. map ( ( course : any ) => (
71
71
< div className = { styles . courseCard } key = { course . freeCodeCampCertification . fccId } >
72
72
< CourseBadge type = { certification ?. certificationCategory . track as TCACertificateType } />
73
- < p className = 'body-main-bold' > { course . freeCodeCampCertification . title } </ p >
73
+ < p className = 'body-main-bold' >
74
+ { clearFCCCertificationTitle ( course . freeCodeCampCertification . title ) }
75
+ </ p >
74
76
</ div >
75
77
) ) , [ courses , certification ] )
76
78
You can’t perform that action at this time.
0 commit comments