mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
Improve a11y (#1841)
Improve accessibility by removing unnecessary tags without hrefs. Also remove many eslint errors and warnings.
This commit is contained in:
@@ -78,11 +78,7 @@ const DeletePermissionButton: FC<Props> = ({ namespaceOrRepository, permission,
|
||||
return (
|
||||
<>
|
||||
<ErrorNotification error={error} />
|
||||
<a className="level-item" onClick={action}>
|
||||
<span className="icon is-small">
|
||||
<Icon name="trash" title={t("permission.delete-permission-button.label")} color="inherit" />
|
||||
</span>
|
||||
</a>
|
||||
<Icon name="trash" onClick={action} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user