Disable a lint for any for now in UserMenu
This commit is contained in:
@@ -119,7 +119,9 @@ export function UserMenu({
|
||||
)}
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
{(props: any) => (
|
||||
{
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(props: any) => (
|
||||
<Menu {...props} label={t("User menu")} onAction={onAction}>
|
||||
{items.map(({ key, icon: Icon, label, dataTestid }) => (
|
||||
<Item key={key} textValue={label}>
|
||||
@@ -133,7 +135,8 @@ export function UserMenu({
|
||||
</Item>
|
||||
))}
|
||||
</Menu>
|
||||
)}
|
||||
)
|
||||
}
|
||||
</PopoverMenuTrigger>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user