Set tab index on the modals close button so it doesnt autofocus

This commit is contained in:
Jackson Harper 2022-04-19 11:59:48 -07:00
parent 1afa24d12a
commit 0203347c4a

View file

@ -42,6 +42,7 @@ export function SetLabelsModal(props: SetLabelsModalProps): JSX.Element {
onClick={() => {
props.onOpenChange(false)
}}
tabIndex={-1}
>
<CrossIcon
size={14}