0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(console): temporarily hide profile page entrance (#3215)

This commit is contained in:
Charles Zhao 2023-02-24 18:00:52 +08:00 committed by GitHub
parent 1db6177f3a
commit cd984cda58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = () => {
</div>
</div>
<Divider />
<DropdownItem
className={classNames(styles.dropdownItem, isLoading && styles.loading)}
icon={<Profile className={styles.icon} />}
onClick={() => {
navigate('/profile');
}}
>
{t('menu.profile')}
</DropdownItem>
<Divider />
<SubMenu
className={styles.dropdownItem}
icon={<Globe className={styles.icon} />}