diff --git a/src/views/components/common/CalendarCourseCell/CalendarCourseCell.tsx b/src/views/components/common/CalendarCourseCell/CalendarCourseCell.tsx index a26ed432..e67d3484 100644 --- a/src/views/components/common/CalendarCourseCell/CalendarCourseCell.tsx +++ b/src/views/components/common/CalendarCourseCell/CalendarCourseCell.tsx @@ -1,5 +1,4 @@ -import { Course, Status } from '@shared/types/Course'; -import { CourseMeeting } from '@shared/types/CourseMeeting'; +import { Status } from '@shared/types/Course'; import clsx from 'clsx'; import React from 'react'; import { CourseColors, pickFontColor } from 'src/shared/util/colors'; @@ -44,10 +43,10 @@ const CalendarCourseCell: React.FC = ({ - {course.department} {course.number} - {course.instructors[0].lastName} + {courseDeptAndInstr} {timeAndLocation && (