Disable a lint for any for now in UserMenu
This commit is contained in:
@@ -119,21 +119,24 @@ export function UserMenu({
|
|||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
{(props: any) => (
|
{
|
||||||
<Menu {...props} label={t("User menu")} onAction={onAction}>
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
{items.map(({ key, icon: Icon, label, dataTestid }) => (
|
(props: any) => (
|
||||||
<Item key={key} textValue={label}>
|
<Menu {...props} label={t("User menu")} onAction={onAction}>
|
||||||
<Icon
|
{items.map(({ key, icon: Icon, label, dataTestid }) => (
|
||||||
width={24}
|
<Item key={key} textValue={label}>
|
||||||
height={24}
|
<Icon
|
||||||
className={styles.menuIcon}
|
width={24}
|
||||||
data-testid={dataTestid}
|
height={24}
|
||||||
/>
|
className={styles.menuIcon}
|
||||||
<Body overflowEllipsis>{label}</Body>
|
data-testid={dataTestid}
|
||||||
</Item>
|
/>
|
||||||
))}
|
<Body overflowEllipsis>{label}</Body>
|
||||||
</Menu>
|
</Item>
|
||||||
)}
|
))}
|
||||||
|
</Menu>
|
||||||
|
)
|
||||||
|
}
|
||||||
</PopoverMenuTrigger>
|
</PopoverMenuTrigger>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user