diff --git a/src/components/microlearning/VideoDetailPage.jsx b/src/components/microlearning/VideoDetailPage.jsx index 75e185188f..a848554ead 100644 --- a/src/components/microlearning/VideoDetailPage.jsx +++ b/src/components/microlearning/VideoDetailPage.jsx @@ -1,8 +1,7 @@ /* eslint-disable max-len */ -import React, { useEffect } from 'react'; +import { useEffect } from 'react'; import { Container, Row, Badge, Skeleton, - Hyperlink, Icon, Button, } from '@openedx/paragon'; @@ -11,6 +10,7 @@ import { FormattedMessage, useIntl } from '@edx/frontend-platform/i18n'; import { Person, Speed, Timelapse, } from '@openedx/paragon/icons'; +import { Link } from 'react-router-dom'; import { useVideoDetails, useEnterpriseCustomer, useVideoCourseMetadata, useSubscriptions, @@ -144,11 +144,11 @@ const VideoDetailPage = () => { className="mr-2 logo-cutom-style rounded-sm p-1" />
- {courseMetadata?.title} - +
@@ -231,11 +231,11 @@ const VideoDetailPage = () => { values={{ // eslint-disable-next-line react/no-unstable-nested-components a: (chunks) => ( - {chunks} - + ), }} /> @@ -243,8 +243,8 @@ const VideoDetailPage = () => {