ahbeng/NUSMods

View on GitHub
website/src/views/planner/ModuleMenu.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function ModuleMenu has 66 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ModuleMenu = memo((props: Props) => {
  const [isMenuOverflowing, setMenuOverflowing] = useState<boolean>(false);
  const [hasRendered, setHasRendered] = useState<boolean>(false);
  const myRef = useRef<HTMLDivElement>(null);

Severity: Major
Found in website/src/views/planner/ModuleMenu.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status