From 387b508e40638cdc80ee35809fd9846fa7f2f368 Mon Sep 17 00:00:00 2001 From: Abhinav Chadaga Date: Sat, 17 Feb 2024 14:37:48 -0600 Subject: [PATCH] chore: update CalendarCourseCell.tsx --- .../common/CalendarCourseCell/CalendarCourseCell.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/components/common/CalendarCourseCell/CalendarCourseCell.tsx b/src/views/components/common/CalendarCourseCell/CalendarCourseCell.tsx index e78d2616..044b4ffb 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'; @@ -51,10 +50,10 @@ const CalendarCourseCell: React.FC = ({ course, meeting - {course.department} {course.number} - {course.instructors[0].lastName} + {courseDeptAndInstr} {meeting && (