Skip to content

Commit

Permalink
Allow Small Menu Links
Browse files Browse the repository at this point in the history
-Single items on the small menu are now clickable.
  • Loading branch information
eddiesarevalo committed Sep 30, 2024
1 parent 447f2a0 commit 6499f80
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions src/components/TitleBar/TitleBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -746,14 +746,20 @@ const TitleBar = ({
</div>
) : (
<div className="pds-wds-titlebar-small-menu-link">
<Typography
className="pds-wds-titlebar-link-label"
variant="h4"
weight="semibold"
textAlign="left"
<Link
className="pds-wds-titlebar-link"
key={item.id}
href={item.href}
>
{item.label}
</Typography>
<Typography
className="pds-wds-titlebar-link-label"
variant="h4"
weight="semibold"
textAlign="left"
>
{item.label}
</Typography>
</Link>
</div>
);
})}
Expand Down

0 comments on commit 6499f80

Please sign in to comment.