Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(project): remove redundant settings icon from project sidebar header (#21526)

LiJian5aa9a8318e06
diff --git a/src/features/Projects/Layout/ProjectHeader.tsx b/src/features/Projects/Layout/ProjectHeader.tsx
index 3e2af1208b0..7eae776899b 100644
--- a/src/features/Projects/Layout/ProjectHeader.tsx
+++ b/src/features/Projects/Layout/ProjectHeader.tsx
@@ -1,7 +1,5 @@
'use client';
-import { ActionIcon } from '@lobehub/ui';
-import { SettingsIcon } from 'lucide-react';
import { memo, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -75,15 +73,6 @@ const ProjectHeader = memo<ProjectHeaderProps>(({ project }) => {
/>
</SidebarHeaderSelectPopover>
}
- right={
- <ActionIcon
- aria-label={t('settings.title')}
- icon={SettingsIcon}
- size="small"
- title={t('settings.title')}
- onClick={() => navigate(`/project/${project?.slug ?? project?.id}/settings`)}
- />
- }
/>
);
});