From f3ff7033963a727b22ba17b7d60d7590a133e422 Mon Sep 17 00:00:00 2001 From: luiqor Date: Tue, 17 Dec 2024 11:15:09 +0200 Subject: [PATCH] fix role button sonar issues --- src/design-system/components/menu-item/MenuItem.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/design-system/components/menu-item/MenuItem.tsx b/src/design-system/components/menu-item/MenuItem.tsx index dcf7f73bc..96d6ce351 100644 --- a/src/design-system/components/menu-item/MenuItem.tsx +++ b/src/design-system/components/menu-item/MenuItem.tsx @@ -93,7 +93,6 @@ const MenuItem: FC = ({ onClick={handleGraphicsClick} onKeyDown={handleClick} ref={graphicsRef} - role='button' tabIndex={0} > {graphics} @@ -116,7 +115,6 @@ const MenuItem: FC = ({ onKeyDown={(event) => { handleEnterOrSpaceKeyDown(event, handleRemoveItem) }} - role='button' tabIndex={0} >