nexxtway/react-rainbow

View on GitHub
src/components/Calendar/doubleCalendar/yearSelect/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function YearSelect has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const YearSelect = React.forwardRef((props, ref) => {
    const { currentYear, yearsRange, onYearChange, onClick, onFocus, onBlur, tabIndex } = props;
    const selectRef = useRef();
    const selectId = useUniqueIdentifier('select');
    const [isEditMode, setEditMode] = useState(false);
Severity: Major
Found in src/components/Calendar/doubleCalendar/yearSelect/index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status