Skip to content

Commit 664307b

Browse files
committed
Reorders logout menu item for improved UX
Adjusts the position of the logout menu item to enhance user experience by placing it at the end of the profile menu. No functionality changes were made.
1 parent b4db984 commit 664307b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Components/Layout/ProfileMenu.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ export function ProfileMenu() {
2222
Hi, {auth.user?.profile.name}
2323
</ScaleMenuFlyoutItem>
2424

25-
<ScaleMenuFlyoutItem onScale-select={() => auth.signoutRedirect()}>
26-
Logout
27-
</ScaleMenuFlyoutItem>
28-
2925
<ScaleMenuFlyoutItem>
3026
<a className="text-black no-underline" href="/NewEvent">
3127
New Event
3228
</a>
3329
</ScaleMenuFlyoutItem>
30+
31+
<ScaleMenuFlyoutItem onScale-select={() => auth.signoutRedirect()}>
32+
Logout
33+
</ScaleMenuFlyoutItem>
3434
</ScaleMenuFlyoutList>
3535

3636
</ScaleMenuFlyout>

0 commit comments

Comments
 (0)