diff --git a/.dumi/theme/slots/Header/Navigation.tsx b/.dumi/theme/slots/Header/Navigation.tsx index ae30597e866b..0459828691a2 100644 --- a/.dumi/theme/slots/Header/Navigation.tsx +++ b/.dumi/theme/slots/Header/Navigation.tsx @@ -238,27 +238,11 @@ const HeaderNavigation: React.FC = (props) => { ), key: 'antgroup', }, - { - label: ( - - Gitee 镜像 - - ), - icon: ( - gitee - ), - key: 'gitee', - }, ], } : null, ...(additional ?? []), - ]; + ].filter(Boolean); return (