mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
chore(console): temporarily hide profile page entrance (#3215)
This commit is contained in:
parent
1db6177f3a
commit
cd984cda58
1 changed files with 0 additions and 11 deletions
|
@ -9,7 +9,6 @@ import { useNavigate } from 'react-router-dom';
|
||||||
|
|
||||||
import Globe from '@/assets/images/globe.svg';
|
import Globe from '@/assets/images/globe.svg';
|
||||||
import Palette from '@/assets/images/palette.svg';
|
import Palette from '@/assets/images/palette.svg';
|
||||||
import Profile from '@/assets/images/profile.svg';
|
|
||||||
import SignOut from '@/assets/images/sign-out.svg';
|
import SignOut from '@/assets/images/sign-out.svg';
|
||||||
import Divider from '@/components/Divider';
|
import Divider from '@/components/Divider';
|
||||||
import Dropdown, { DropdownItem } from '@/components/Dropdown';
|
import Dropdown, { DropdownItem } from '@/components/Dropdown';
|
||||||
|
@ -89,16 +88,6 @@ const UserInfo = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Divider />
|
<Divider />
|
||||||
<DropdownItem
|
|
||||||
className={classNames(styles.dropdownItem, isLoading && styles.loading)}
|
|
||||||
icon={<Profile className={styles.icon} />}
|
|
||||||
onClick={() => {
|
|
||||||
navigate('/profile');
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{t('menu.profile')}
|
|
||||||
</DropdownItem>
|
|
||||||
<Divider />
|
|
||||||
<SubMenu
|
<SubMenu
|
||||||
className={styles.dropdownItem}
|
className={styles.dropdownItem}
|
||||||
icon={<Globe className={styles.icon} />}
|
icon={<Globe className={styles.icon} />}
|
||||||
|
|
Loading…
Reference in a new issue