Re-enable a11y linting rules

This commit is contained in:
Alejandro Celaya
2023-09-02 10:38:20 +02:00
parent a40b67f65f
commit b20698ecb2
2 changed files with 1 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ export const DeleteServerButton = (DeleteServerModal: FC<DeleteServerModalProps>
return (
<>
<span className={className} onClick={showModal}>
<span className={className} onPointerDown={showModal}>
{!children && <FontAwesomeIcon fixedWidth icon={deleteIcon} />}
<span className={textClassName}>{children ?? 'Remove this server'}</span>
</span>