From cd984cda5808911d811dd3e16324a64014251141 Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Fri, 24 Feb 2023 18:00:52 +0800 Subject: [PATCH] chore(console): temporarily hide profile page entrance (#3215) --- .../AppLayout/components/UserInfo/index.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/console/src/containers/AppLayout/components/UserInfo/index.tsx b/packages/console/src/containers/AppLayout/components/UserInfo/index.tsx index 2ef929f97..da349d02c 100644 --- a/packages/console/src/containers/AppLayout/components/UserInfo/index.tsx +++ b/packages/console/src/containers/AppLayout/components/UserInfo/index.tsx @@ -9,7 +9,6 @@ import { useNavigate } from 'react-router-dom'; import Globe from '@/assets/images/globe.svg'; import Palette from '@/assets/images/palette.svg'; -import Profile from '@/assets/images/profile.svg'; import SignOut from '@/assets/images/sign-out.svg'; import Divider from '@/components/Divider'; import Dropdown, { DropdownItem } from '@/components/Dropdown'; @@ -89,16 +88,6 @@ const UserInfo = () => { - } - onClick={() => { - navigate('/profile'); - }} - > - {t('menu.profile')} - - }