Coursemology/coursemology2

View on GitHub
client/app/bundles/course/container/Sidebar/CourseItem.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

const CourseItem = (props: CourseItemProps): JSX.Element => {
  const { in: data } = props;

  const menuRef = useRef<ComponentRef<typeof CourseSwitcherPopupMenu>>(null);

Severity: Minor
Found in client/app/bundles/course/container/Sidebar/CourseItem.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status