diff --git a/apps/app/components/project/sidebar-list.tsx b/apps/app/components/project/sidebar-list.tsx index eab2206b1..5790e7c0b 100644 --- a/apps/app/components/project/sidebar-list.tsx +++ b/apps/app/components/project/sidebar-list.tsx @@ -136,13 +136,7 @@ export const ProjectSidebarList: FC = () => { {(provided) => (
{orderedFavProjects && orderedFavProjects.length > 0 && ( - p.id === projectId) ? true : false - } - > + {({ open }) => ( <> {!sidebarCollapse && ( @@ -197,15 +191,7 @@ export const ProjectSidebarList: FC = () => { {(provided) => (
{orderedJoinedProjects && orderedJoinedProjects.length > 0 && ( - p.id === projectId) - ? true - : false - } - > + {({ open }) => ( <> {!sidebarCollapse && (