diff --git a/src/learning-header/LearningHeader.jsx b/src/learning-header/LearningHeader.jsx
index 9c92f66f0..bd45a4720 100644
--- a/src/learning-header/LearningHeader.jsx
+++ b/src/learning-header/LearningHeader.jsx
@@ -26,7 +26,7 @@ LinkedLogo.propTypes = {
};
const LearningHeader = ({
- courseOrg, courseNumber, courseTitle, intl, showUserDropdown, userProfileImage,
+ courseTitle, intl, showUserDropdown, userProfileImage,
}) => {
const { authenticatedUser } = useContext(AppContext);
@@ -45,7 +45,6 @@ const LearningHeader = ({
{headerLogo}
- {courseOrg} {courseNumber}
{courseTitle}
{showUserDropdown && authenticatedUser && (
@@ -63,8 +62,6 @@ const LearningHeader = ({
};
LearningHeader.propTypes = {
- courseOrg: PropTypes.string,
- courseNumber: PropTypes.string,
courseTitle: PropTypes.string,
userProfileImage: PropTypes.string,
intl: intlShape.isRequired,
@@ -72,8 +69,6 @@ LearningHeader.propTypes = {
};
LearningHeader.defaultProps = {
- courseOrg: null,
- courseNumber: null,
courseTitle: null,
userProfileImage: null,
showUserDropdown: true,
diff --git a/src/learning-header/LearningHeader.test.jsx b/src/learning-header/LearningHeader.test.jsx
index 3d80888ef..84d72d599 100644
--- a/src/learning-header/LearningHeader.test.jsx
+++ b/src/learning-header/LearningHeader.test.jsx
@@ -17,13 +17,10 @@ describe('Header', () => {
it('displays course data', () => {
const courseData = {
- courseOrg: 'course-org',
- courseNumber: 'course-number',
courseTitle: 'course-title',
};
render(
);
- expect(screen.getByText(`${courseData.courseOrg} ${courseData.courseNumber}`)).toBeInTheDocument();
expect(screen.getByText(courseData.courseTitle)).toBeInTheDocument();
});
});