ui/src/components/UserMenu/MenuButton/index.tsx
Function MenuButton
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const MenuButton = forwardRef<ElementRef<typeof Button>>((props, ref) => {
const { usesAccounts } = useApiKeyHandling();
return usesAccounts ? (
<Button
ref={ref}