Skip to content

Commit e8a0756

Browse files
committed
TCA-1113 - fix bug where certificate is not rendered
1 parent 22d5a70 commit e8a0756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-ts/tools/learn/course-certificate/certificate-view/CertificateView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const CertificateView: FC<CertificateViewProps> = (props: CertificateViewProps)
9696
elRef={certificateElRef}
9797
provider={course?.resourceProvider.name}
9898
tcHandle={props.profile.handle}
99-
type={certificate?.certificationCategory.track}
99+
type={certificate?.certificationCategory?.track}
100100
userName={userName}
101101
/>
102102
)

0 commit comments

Comments
 (0)