Skip to content

Commit

Permalink
list in button is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Feb 19, 2024
1 parent 3f28f3f commit b678b2e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ const MoreMenu: React.FunctionComponent<MoreMenuPropTypes> = ({
>
<span>{MessageMore}</span>
</button>
<button
{/* NoSonar(S6848) */}
<div
onChange={offMoreMenu}
onClick={() => setEnableMoreMenu(false)}
onKeyDown={(event) => {
Expand All @@ -56,7 +57,7 @@ const MoreMenu: React.FunctionComponent<MoreMenuPropTypes> = ({
<ul data-test="menu-options" className="menu-options">
{children}
</ul>
</button>
</div>
</>
);
};
Expand Down

0 comments on commit b678b2e

Please sign in to comment.