Skip to content

Commit

Permalink
remove manage account link in My Account menu - future ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocio De Santiago authored and Rocio De Santiago committed Jul 30, 2024
1 parent 8cbce16 commit c31e317
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions services/ui-src/src/components/menus/Menu.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { Link as RouterLink } from "react-router-dom";
import {
Box,
Button,
Image,
Link,
Menu as MenuRoot,
MenuButton,
MenuItem,
Expand All @@ -13,7 +11,6 @@ import { MenuOption } from "components";
import { useBreakpoint } from "utils";
import accountCircleIcon from "assets/icons/icon_account_circle.png";
import chevronDownIcon from "assets/icons/icon_arrow_down.png";
import editIcon from "assets/icons/icon_edit_square.png";
import logoutIcon from "assets/icons/icon_arrow_right_square.png";

export const Menu = ({ handleLogout }: Props) => {
Expand All @@ -39,18 +36,6 @@ export const Menu = ({ handleLogout }: Props) => {
</MenuButton>
</Box>
<MenuList sx={sx.menuList} data-testid="header-menu-options-list">
<Link as={RouterLink} to="/profile" variant="unstyled">
<MenuItem
sx={sx.menuItem}
data-testid="header-menu-option-manage-account"
>
<MenuOption
icon={editIcon}
altText="Manage account"
text="Manage Account"
/>
</MenuItem>
</Link>
<MenuItem
onClick={handleLogout}
sx={sx.menuItem}
Expand Down

0 comments on commit c31e317

Please sign in to comment.