src/components/Calendar/doubleCalendar/yearSelect/index.js
Function YearSelect
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);