File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
src-ts/tools/learn/welcome/courses-card Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const CoursesCard: FC<CoursesCardProps> = (props: CoursesCardProps) => {
6666    return  ( 
6767        < div  className = { classNames ( styles . wrap ,  ! courseEnabled  &&  'soon' ,  isCompleted  &&  styles . completed ) } > 
6868            < div  className = { styles . cardHeader } > 
69-                 < CourseBadge  type = { props . certification . certificationCategory . track  ??  'DEV' }  /> 
69+                 < CourseBadge  type = { props . certification . certificationCategory ? .track  ??  'DEV' }  /> 
7070                < div  className = { styles . cardHeaderTitleWrap } > 
7171                    < p  className = 'body-medium-medium' > { clearFCCCertificationTitle ( props . certification . title ) } </ p > 
7272                    < div  className = { styles . subTitleWrap } > 
@@ -91,7 +91,7 @@ const CoursesCard: FC<CoursesCardProps> = (props: CoursesCardProps) => {
9191                { ( isInProgress  ||  isCompleted )  &&  ( 
9292                    < ProgressBar 
9393                        progress = { ( isCompleted  ? 100  : ( props . progress ?. courseProgressPercentage  ??  0 ) )  /  100 } 
94-                         track = { props . certification . certificationCategory . track } 
94+                         track = { props . certification . certificationCategory ? .track } 
9595                    /> 
9696                ) } 
9797                { ! isInProgress  &&  ! isCompleted  &&  < div  className = { styles . cardHeaderDivider }  /> } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments