From c903c3371d31dc72a9a184da44f4ee5f9fa6ae08 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sun, 24 Mar 2024 15:24:39 -0400 Subject: [PATCH] Small sidebar fix --- packages/frontend/components/Sidebar/SectionRequirement.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 = ({ {requirement.exceptions.length > 0 && ( <> except{" "} - {requirement.exceptions - .map(getCourseDisplayString) - .join(", ") - .slice(0, -1)} + {requirement.exceptions.map(getCourseDisplayString).join(", ")} )}