File tree Expand file tree Collapse file tree
apps/codebility/app/home/_components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,12 +54,6 @@ const LeftSidebar = () => {
5454 links : section . links . filter ( ( link : SidebarLink ) => {
5555 // TODO: Remove these filters when features are implemented
5656
57- // Filter out Feeds from MENU section
58- if ( link . label === "Feeds" ) {
59- console . log ( "🚧 Feeds feature not yet implemented - hiding from navigation" ) ;
60- return false ;
61- }
62-
6357 // Filter out Codev Overflow from CODEVS section
6458 if ( link . label === "Codev Overflow" ) {
6559 console . log ( "🚧 Codev Overflow feature not yet implemented - hiding from navigation" ) ;
@@ -69,13 +63,13 @@ const LeftSidebar = () => {
6963 return true ; // Keep all other links
7064 } )
7165 } ) ) ;
72-
66+
7367 setSidebarData ( filteredData ) ;
7468 }
7569 } ;
7670
7771 fetchSidebarData ( ) ;
78- } , [ roleId , refreshKey ] ) ;
72+ } , [ ] ) ;
7973
8074 const sidebarVariants = {
8175 closed : {
Original file line number Diff line number Diff line change @@ -41,10 +41,7 @@ const LeftSidebarClient = ({ initialSidebarData }: LeftSidebarClientProps) => {
4141 const filteredSidebarData = initialSidebarData . map ( ( section ) => ( {
4242 ...section ,
4343 links : section . links . filter ( ( link ) => {
44- // TODO: Remove these filters when features are implemented
45- if ( link . label === "Feeds" || link . label === "Codev Overflow" ) {
46- return false ;
47- }
44+
4845 return true ;
4946 } )
5047 } ) ) ;
You can’t perform that action at this time.
0 commit comments