diff --git a/src/courseware/course/sequence/Unit/ContentIFrame.jsx b/src/courseware/course/sequence/Unit/ContentIFrame.jsx index 54c4d6620f..352def8bce 100644 --- a/src/courseware/course/sequence/Unit/ContentIFrame.jsx +++ b/src/courseware/course/sequence/Unit/ContentIFrame.jsx @@ -3,7 +3,7 @@ import React from 'react'; import { ErrorPage } from '@edx/frontend-platform/react'; import { StrictDict } from '@edx/react-unit-test-utils'; -import { ModalDialog, Modal } from '@openedx/paragon'; +import { ModalDialog } from '@openedx/paragon'; import { PluginSlot } from '@openedx/frontend-plugin-framework'; import PageLoading from '@src/generic/PageLoading'; @@ -66,21 +66,6 @@ const ContentIFrame = ({ onLoad: handleIFrameLoad, }; - let modalContent; - if (modalOptions.isOpen) { - modalContent = modalOptions.body - ?
{ modalOptions.body }
- : ( -