Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src-ts/tools/learn/course-completed/CourseCompletedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ import {
import { getCertificatePath, getCoursePath, LEARN_PATHS, rootRoute } from '../learn.routes'

import { ReactComponent as StarsSvg } from './stars.svg'
import styles from './CourseCompletedPage.module.scss'
import { LearnConfig } from '../learn-config'

const CourseCompletedPage: FC<{}> = () => {

Expand Down Expand Up @@ -95,13 +93,6 @@ const CourseCompletedPage: FC<{}> = () => {
ready,
])

useEffect(() => {
if (ready && showSurvey === certificationParam) {
surveyTriggerForUser(LearnConfig.SURVEY.COMPLETED_FIRST_MODULE, profile?.userId)
setShowSurvey('')
}
}, [ready, showSurvey, certificationParam]);

return (
<>
<LoadingSpinner hide={ready} />
Expand Down
3 changes: 0 additions & 3 deletions src-ts/tools/learn/learn-config/learn-config.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ export interface LearnConfigModel {
value: string,
}
CLIENT: string
SURVEY: {
COMPLETED_FIRST_MODULE: string
}
}
3 changes: 0 additions & 3 deletions src-ts/tools/learn/learn-config/learn.default.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ export const LearnConfigDefault: LearnConfigModel = {
value: 'certificate-container',
},
CLIENT: 'https://fcc.topcoder-dev.com:4431',
SURVEY: {
COMPLETED_FIRST_MODULE: 'TCA First Module Completed',
}
}
1 change: 0 additions & 1 deletion src-ts/tools/learn/learn-lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ export * from './data-providers'
export * from './learn-breadcrumb-provider'
export * from './learn-swr'
export * from './my-course-card'
export * from './survey'
export * from './svgs'
export * from './wave-hero'
1 change: 0 additions & 1 deletion src-ts/tools/learn/learn-lib/survey/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src-ts/tools/learn/learn-lib/survey/use-show-survey.ts

This file was deleted.