Skip to content

Commit 1bef294

Browse files
authored
fix: logout onclick (#91)
1 parent 79d8339 commit 1bef294

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/modules/ui/components/menus/organisms/ProfileMenu.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ export default function ProfileMenu(
5959
{/*</Typography>*/}
6060
</MenuItem>
6161
<Divider />
62-
<MenuItem sx={{ px: 2, py: 1.5 }}>
63-
<Typography variant="inherit" onClick={handleLogout}>
64-
Logout
65-
</Typography>
62+
<MenuItem sx={{ px: 2, py: 1.5 }} onClick={handleLogout}>
63+
<Typography variant="inherit">Logout</Typography>
6664
</MenuItem>
6765
</Menu>
6866
);

0 commit comments

Comments
 (0)