diff --git a/packages/frontend/components/Sidebar/SectionRequirement.tsx b/packages/frontend/components/Sidebar/SectionRequirement.tsx index 08040e025..bdb0f354e 100644 --- a/packages/frontend/components/Sidebar/SectionRequirement.tsx +++ b/packages/frontend/components/Sidebar/SectionRequirement.tsx @@ -110,10 +110,7 @@ const SectionRequirement: React.FC<SidebarRequirementProps> = ({ {requirement.exceptions.length > 0 && ( <> except{" "} - {requirement.exceptions - .map(getCourseDisplayString) - .join(", ") - .slice(0, -1)} + {requirement.exceptions.map(getCourseDisplayString).join(", ")} </> )} </Text>