diff --git a/src/index.jsx b/src/index.jsx index 2a3f91a05..b84b9ca41 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -16,23 +16,11 @@ import appMessages from './i18n'; import initializeStore from './store'; import './index.scss'; import CourseAuthoringRoutes from './CourseAuthoringRoutes'; -import LegacyProctoringRoute from './proctored-exam-settings/LegacyProctoringRoute'; subscribe(APP_READY, () => { ReactDOM.render( - { - const { params: { courseId } } = match; - /* See component for details on what this is */ - return ( - - ); - }} - /> { diff --git a/src/proctored-exam-settings/LegacyProctoringRoute.jsx b/src/proctored-exam-settings/LegacyProctoringRoute.jsx deleted file mode 100644 index 70fcde962..000000000 --- a/src/proctored-exam-settings/LegacyProctoringRoute.jsx +++ /dev/null @@ -1,27 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; - -import CourseAuthoringPage from '../CourseAuthoringPage'; -import ProctoredExamSettings from './ProctoredExamSettings'; - -/** - * LEGACY proctored exam settings route! This is an EXPAND and CONTRACT refactoring - this - * legacy route exists because we're in an EXPANDED state. Delete this route when backends - * no longer send users here. - * - * The refactoring is intended to organize our routes by the primary entity first (a course), - * and the sub-entity second (proctoring settings). In CourseAuthoringContainer below, you'll see - * that we flip the routes so that the pages follow the courseId, since they're conceptually - * children of it. - */ -export default function LegacyProctoringRoute({ courseId }) { - return ( - - - - ); -} - -LegacyProctoringRoute.propTypes = { - courseId: PropTypes.string.isRequired, -};