Skip to content

Commit 181918f

Browse files
TCA-790 #comment This commit supports the fact that a certificate can actually be more than 100% when data isn't in sync w/FCC. #time 15m
1 parent db66c09 commit 181918f

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
@@ -279,7 +279,7 @@ const FreeCodeCamp: FC<{}> = () => {
279279
// the cert is also completed, which redirects the user to the cert page.
280280
// So the survey needs to be delayed so that it appears on the completed
281281
// cert page instead of the current lesson.
282-
if (progress.certificationProgressPercentage === 100) {
282+
if (progress.certificationProgressPercentage >= 100) {
283283
setTimeout(async () => {
284284
surveyTriggerForUser(surveyTrigger, profile?.userId)
285285
}, 1000)

0 commit comments

Comments
 (0)