Skip to content

Commit c9c1a93

Browse files
committed
chore: fix sonarqube issues
1 parent a710586 commit c9c1a93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/components/room-components/elements-tree/elements-tree.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function mapElementsToTree(
8181
actions: [
8282
<div
8383
key="remove"
84+
tabIndex={0}
8485
role="button"
8586
className="bg-white p-1 cursor-pointer hover:bg-zinc-950 hover:text-white rounded-none"
8687
onClick={(e) => {
@@ -97,6 +98,7 @@ function mapElementsToTree(
9798
</div>,
9899
<div
99100
key="show-hidden"
101+
tabIndex={0}
100102
role="button"
101103
className="bg-white p-1 cursor-pointer hover:bg-zinc-950 hover:text-white rounded-none"
102104
onClick={(e) => {
@@ -127,6 +129,7 @@ function mapElementsToTree(
127129
</div>,
128130
<div
129131
key="lock-unlock"
132+
tabIndex={0}
130133
role="button"
131134
className="bg-white p-1 cursor-pointer hover:bg-zinc-950 hover:text-white rounded-none"
132135
onClick={(e) => {

0 commit comments

Comments
 (0)