diff --git a/src-ts/tools/learn/course-completed/CourseCompletedPage.tsx b/src-ts/tools/learn/course-completed/CourseCompletedPage.tsx index 377f4ec10..a856a0ba4 100755 --- a/src-ts/tools/learn/course-completed/CourseCompletedPage.tsx +++ b/src-ts/tools/learn/course-completed/CourseCompletedPage.tsx @@ -1,4 +1,4 @@ -import { Dispatch, FC, SetStateAction, useContext, useEffect } from 'react' +import { FC, useContext, useEffect } from 'react' import { NavigateFunction, Params, useNavigate, useParams } from 'react-router-dom' import { EnvironmentConfig } from '../../../config' @@ -9,7 +9,6 @@ import { LoadingSpinner, profileContext, ProfileContextData, - surveyTriggerForUser, textFormatGetSafeString, } from '../../../lib' import { @@ -22,11 +21,11 @@ import { useLearnBreadcrumb, UserCertificationProgressProviderData, UserCertificationProgressStatus, - useShowSurvey, } from '../learn-lib' import { getCertificatePath, getCoursePath, LEARN_PATHS, rootRoute } from '../learn.routes' import { ReactComponent as StarsSvg } from './stars.svg' +import styles from './CourseCompletedPage.module.scss' const CourseCompletedPage: FC<{}> = () => { @@ -37,11 +36,6 @@ const CourseCompletedPage: FC<{}> = () => { const certificationParam: string = textFormatGetSafeString(routeParams.certification) const coursePath: string = getCoursePath(providerParam, certificationParam) - const [showSurvey, setShowSurvey]: [ - string, - Dispatch> - ] = useShowSurvey() - const { course: courseData, ready: courseDataReady,