From c946c9169ce3e6edfa3592e88d85522a1b9aff7c Mon Sep 17 00:00:00 2001 From: Aponia Date: Wed, 1 Nov 2023 17:25:34 -0700 Subject: [PATCH] chore: try to reduce diff --- apps/antalmanac/src/components/Header/ImportStudyList.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/antalmanac/src/components/Header/ImportStudyList.tsx b/apps/antalmanac/src/components/Header/ImportStudyList.tsx index 7a611cfda..665f5fee5 100644 --- a/apps/antalmanac/src/components/Header/ImportStudyList.tsx +++ b/apps/antalmanac/src/components/Header/ImportStudyList.tsx @@ -69,7 +69,11 @@ class ImportStudyList extends PureComponent { + addCoursesMultiple = ( + courseInfo: { [sectionCode: string]: CourseInfo }, + term: string, + scheduleIndex: number + ) => { for (const section of Object.values(courseInfo)) { addCourse(section.section, section.courseDetails, term, scheduleIndex, true); }