From 910b9974f671c00ae7780f32fc92a013886df060 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa <72977554+Cristhianzl@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:40:28 -0300 Subject: [PATCH] fix: add correctly switch case to components on sidebar (#2802) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📝 (headerComponent/index.tsx): Remove unnecessary width styling from header-end-division class 🔧 (sidebarComponent/index.tsx): Ensure correct import of cn function from utils/utils file 💡 (sidebarComponent/index.tsx): Refactor sidebarContent logic to cover all conditions and provide a default case if necessary * 📝 (sidebarComponent/index.tsx): remove unnecessary comment about ensuring correct import of cn function --- .../src/components/headerComponent/index.tsx | 2 +- .../src/components/sidebarComponent/index.tsx | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index d03ff4f95..bcd169bac 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -134,7 +134,7 @@ export default function Header(): JSX.Element { )} -