eduardomoroni/trading-card-manager

View on GitHub
packages/frontend/src/presentation/components/ManaCheckboxRow.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ManaCheckboxRow has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ManaCheckboxRow: React.FC<Props> = (props: Props) => {
  const { colors, setColors } = props;
  function handleSelectColor(color: Color): void {
    if (colors.includes(color)) {
      return setColors(colors.filter(elem => elem != color));
Severity: Minor
Found in packages/frontend/src/presentation/components/ManaCheckboxRow.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status