diff --git a/.eslintrc b/.eslintrc index ac4978bc..8371c72d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -8,10 +8,6 @@ }, "ignorePatterns": ["src/service*.ts"], "rules": { - "jsx-a11y/control-has-associated-label": "off", - "jsx-a11y/label-has-associated-control": "off", - "jsx-a11y/click-events-have-key-events": "off", - "jsx-a11y/no-static-element-interactions": "off", "react-hooks/rules-of-hooks": "off", "react-hooks/exhaustive-deps": "off" } diff --git a/src/servers/DeleteServerButton.tsx b/src/servers/DeleteServerButton.tsx index 86bcc46c..651f6561 100644 --- a/src/servers/DeleteServerButton.tsx +++ b/src/servers/DeleteServerButton.tsx @@ -18,7 +18,7 @@ export const DeleteServerButton = (DeleteServerModal: FC return ( <> - + {!children && } {children ?? 'Remove this server'}