nexxtway/react-rainbow

View on GitHub
src/components/PrimitiveMenu/menuContent.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function MenuContent has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function MenuContent(props) {
    const { children, isLoading, ariaLabel, onRequestClose } = props;
    const childrenRefs = useRef([]);
    const containerRef = useRef();
    const [childCount, setChildCount] = useState(0);
Severity: Major
Found in src/components/PrimitiveMenu/menuContent.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status