diff --git a/src/course-home/outline-tab/OutlineTab.jsx b/src/course-home/outline-tab/OutlineTab.jsx index 5b2adcc0..c6435c6b 100644 --- a/src/course-home/outline-tab/OutlineTab.jsx +++ b/src/course-home/outline-tab/OutlineTab.jsx @@ -1,4 +1,4 @@ -import React, { useRef, useState } from 'react'; +import React, { useState } from 'react'; import { useSelector } from 'react-redux'; import { sendTrackEvent, sendTrackingLogEvent } from '@edx/frontend-platform/analytics'; import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; @@ -9,7 +9,6 @@ import { AlertList } from '../../generic/user-messages'; import CourseDates from './widgets/CourseDates'; import CourseGoalCard from './widgets/CourseGoalCard'; import CourseHandouts from './widgets/CourseHandouts'; -import CourseSock from '../../generic/course-sock'; import CourseTools from './widgets/CourseTools'; import DatesBannerContainer from '../dates-banner/DatesBannerContainer'; import { fetchOutlineTab } from '../data'; @@ -44,7 +43,6 @@ function OutlineTab({ intl }) { const { accessExpiration, - canShowUpgradeSock, courseBlocks: { courses, sections, @@ -94,8 +92,6 @@ function OutlineTab({ intl }) { const rootCourseId = courses && Object.keys(courses)[0]; - const courseSock = useRef(null); - const logUpgradeLinkClick = () => { sendTrackEvent('edx.bi.ecommerce.upsell_links_clicked', { ...eventProperties, @@ -245,16 +241,6 @@ function OutlineTab({ intl }) { )} - {canShowUpgradeSock && ( - - )} ); }