From c7cf1523159b06c90e97ff7fd7a62cba2d769134 Mon Sep 17 00:00:00 2001 From: npcdazai Date: Tue, 14 Jan 2025 16:26:02 +0530 Subject: [PATCH] Link --- src/userComponents/Sidebar.tsx | 50 +++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/userComponents/Sidebar.tsx b/src/userComponents/Sidebar.tsx index 7ec467f..030e6b4 100644 --- a/src/userComponents/Sidebar.tsx +++ b/src/userComponents/Sidebar.tsx @@ -34,21 +34,21 @@ const Sidebar = () => { {sidebarItems.map((item) => ( - toggleSection(item.value)} - w="254px" + - toggleSection(item.value)} + w="254px" > { {item.title} - - {item.links && ( - - {activeSection === item.value ? ( - - ) : ( - - )} - - )} - + {item.links && ( + + {activeSection === item.value ? ( + + ) : ( + + )} + + )} + + {/* Sub-links */} {item.links && activeSection === item.value && (