Skip to content

Commit a712979

Browse files
Merge branch 'TCA-832_release' of https://github.com/topcoder-platform/platform-ui into TCA-832_release
2 parents 3e915c3 + d9d4ad1 commit a712979

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@ const FreeCodeCamp: FC<{}> = () => {
277277

278278
// NOTE: We have to add a delay, otherwise the survey closes when the user
279279
// is automatically redirected to the next lesson.
280-
surveyTriggerForUser('TCA First Module Completed', profile?.userId)
281-
280+
setTimeout(() => {
281+
surveyTriggerForUser('TCA First Module Completed', profile?.userId)
282+
}, 1000)
282283
}
283284

284285
/**

0 commit comments

Comments
 (0)