diff --git a/src/components/planner/sidebar/CoursesController/ClassSelector.tsx b/src/components/planner/sidebar/CoursesController/ClassSelector.tsx index a43c9114..8c0b7b96 100644 --- a/src/components/planner/sidebar/CoursesController/ClassSelector.tsx +++ b/src/components/planner/sidebar/CoursesController/ClassSelector.tsx @@ -30,6 +30,7 @@ const ClassSelector = ({ course }: Props) => { if (option.length === 0) { setSelectedClassId(null); + setDisplay(null); return; }