From 916ddf1861fd5d327354329951eb8da9e4f18eec Mon Sep 17 00:00:00 2001 From: Sparkle <9702605+sblwl@user.noreply.gitee.com> Date: Sat, 13 Jul 2024 01:19:27 +0800 Subject: [PATCH] feat:add avatarpopover to edit/file route --- src/components/edit/header/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/edit/header/index.tsx b/src/components/edit/header/index.tsx index 90cdc1b..8d667cb 100644 --- a/src/components/edit/header/index.tsx +++ b/src/components/edit/header/index.tsx @@ -6,6 +6,7 @@ import { GoRepoForked } from 'react-icons/go'; import { Avatar } from '@/components/common/Avatar'; import { Button } from '@/components/ui/button'; +import AvatarPopover from '@/components/avatarPopover'; interface ProjectData { [key: string]: any; @@ -49,7 +50,11 @@ export const Header: React.FC = ({ project, userInfo }) => {
{project.name}
- +
+ + + +
); };