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 && (