Skip to content

Commit

Permalink
chore: updating menu item to use text component
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed Dec 17, 2024
1 parent 241c9d8 commit 534971d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/components/ui/menu/menu-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const MenuItem = React.forwardRef(
/>
)}
<div>
<div>{children}</div>
<Text as="div">{children}</Text>
{subtitle ? <Text variant={TextVariant.bodyXs}>{subtitle}</Text> : null}
</div>
</button>
Expand Down

0 comments on commit 534971d

Please sign in to comment.