Skip to content

Commit a3dcd1c

Browse files
Make manage account more obvious (#7927)
1 parent 51280f4 commit a3dcd1c

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/components/UserSidebarMenu.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ const UserSidebarMenu = ({ user }: { user?: User }) => {
5151
const userMenuItems = useMemo<(ActionButtonProps | 'break')[]>(
5252
() =>
5353
[
54+
{
55+
id: 'account',
56+
Element: 'externalLink',
57+
to: withSiteBaseURL('/account'),
58+
children: (
59+
<>
60+
<span className="flex-1">Manage Zoo account</span>
61+
<CustomIcon
62+
name="link"
63+
className="w-3 h-3 text-chalkboard-70 dark:text-chalkboard-40"
64+
/>
65+
</>
66+
),
67+
},
5468
{
5569
id: 'settings',
5670
Element: 'button',
@@ -81,20 +95,6 @@ const UserSidebarMenu = ({ user }: { user?: User }) => {
8195
navigate(targetPath)
8296
},
8397
},
84-
{
85-
id: 'account',
86-
Element: 'externalLink',
87-
to: withSiteBaseURL('/account'),
88-
children: (
89-
<>
90-
<span className="flex-1">Manage account</span>
91-
<CustomIcon
92-
name="link"
93-
className="w-3 h-3 text-chalkboard-70 dark:text-chalkboard-40"
94-
/>
95-
</>
96-
),
97-
},
9898
'break',
9999
{
100100
id: 'request-feature',

0 commit comments

Comments
 (0)