From 5675a2668c84c42bb86037da3b8f967897cdde78 Mon Sep 17 00:00:00 2001 From: luiqor Date: Tue, 17 Dec 2024 11:22:08 +0200 Subject: [PATCH] fix tabIndex on graphics divs 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 96d6ce351..4c45a3628 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} - tabIndex={0} > {graphics} @@ -115,7 +114,6 @@ const MenuItem: FC = ({ onKeyDown={(event) => { handleEnterOrSpaceKeyDown(event, handleRemoveItem) }} - tabIndex={0} >