vorteil/direktiv

View on GitHub
ui/src/components/UserMenu/MenuButton/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function MenuButton has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const MenuButton = forwardRef<ElementRef<typeof Button>>((props, ref) => {
  const { usesAccounts } = useApiKeyHandling();
  return usesAccounts ? (
    <Button
      ref={ref}
Severity: Minor
Found in ui/src/components/UserMenu/MenuButton/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status