Skip to content

Commit

Permalink
course click propagation quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
August Fu committed Mar 27, 2024
1 parent 6e95a9a commit dd8e591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/degree-plan/components/Course/Course.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const CourseComponent = ({ course, fulfillment, removeCourse, isUsed = false, is
{course.full_code.replace("-", " ")}
{!!fulfillment && fulfillment.semester !== "" && <SemesterIcon semester={fulfillment.semester}/>}
</CourseBadge>
{isUsed && <CourseXButton onClick={() => removeCourse(course.full_code)} hidden={false}/>}
{isUsed && <CourseXButton onClick={(e) => {removeCourse(course.full_code); e.stopPropagation();}} hidden={false}/>}
</PlannedCourseContainer>
</ReviewPanelTrigger>
</Draggable>
Expand Down

0 comments on commit dd8e591

Please sign in to comment.