Skip to content

Commit fe608e4

Browse files
committed
Use progress.status to check certification completion status
1 parent c30680a commit fe608e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-ts/tools/learn/free-code-camp/FreeCodeCamp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ const FreeCodeCamp: FC<{}> = () => {
287287
}
288288

289289
// course is completed, return user to course completed screen
290-
if (certificateProgress.courseProgressPercentage === 100) {
290+
if (certificateProgress.status === UserCertificationProgressStatus.completed) {
291291
const completedPath: string = getCertificationCompletedPath(
292292
providerParam,
293293
certificationParam,

0 commit comments

Comments
 (0)