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 {
3333} from '../../learn-lib'
3434import { EnvironmentConfig } from '../../../../config'
3535import { getTCACertificationValidationUrl } from '../../learn.routes'
36- import { hideSiblings } from '../../learn-lib/functions'
36+ import { clearFCCCertificationTitle , hideSiblings } from '../../learn-lib/functions'
3737
3838import styles from './ValidateTCACertificate.module.scss'
3939
@@ -70,7 +70,9 @@ const ValidateTCACertificate: FC<{}> = () => {
7070 = useMemo ( ( ) => courses ?. map ( ( course : any ) => (
7171 < div className = { styles . courseCard } key = { course . freeCodeCampCertification . fccId } >
7272 < 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 >
7476 </ div >
7577 ) ) , [ courses , certification ] )
7678
You can’t perform that action at this time.
0 commit comments