Changed tabIndex to type number

This commit is contained in:
Rafael Wendel
2021-01-25 15:22:11 -03:00
parent 194a9ac749
commit 55e40a6b95
20 changed files with 30 additions and 30 deletions

View File

@@ -21,7 +21,7 @@ export default function QueryControlDropdown(props) {
<a
target="_self"
role="menuitem"
tabIndex="0"
tabIndex={0}
onClick={() => props.openAddToDashboardForm(props.selectedTab)}>
<PlusCircleFilledIcon /> Add to Dashboard
</a>
@@ -31,7 +31,7 @@ export default function QueryControlDropdown(props) {
<Menu.Item>
<a
role="menuitem"
tabIndex="0"
tabIndex={0}
onClick={() => props.showEmbedDialog(props.query, props.selectedTab)}
data-test="ShowEmbedDialogButton">
<ShareAltOutlinedIcon /> Embed Elsewhere