WIP ESLint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 12:12:11 +01:00
parent 9a905e83f7
commit 3bf8859ff9
20 changed files with 129 additions and 70 deletions

View File

@@ -63,6 +63,7 @@ export function TokenRawRightsEditor(p: {
</TableHead>
<TableBody>
{p.token.rights.map((r, num) => (
// eslint-disable-next-line react-x/no-array-index-key
<TableRow key={num} hover>
<TableCell style={{ width: "100px" }}>
<SelectInput
@@ -95,7 +96,11 @@ export function TokenRawRightsEditor(p: {
</TableCell>
{p.editable && (
<TableCell style={{ width: "100px" }}>
<IconButton onClick={() => { deleteRule(num); }}>
<IconButton
onClick={() => {
deleteRule(num);
}}
>
<Tooltip title="Remove the rule">
<DeleteIcon />
</Tooltip>