SU-SWS/stanford_fields

View on GitHub
js/lib/components/select-list.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 1 of 1 total issue

File select-list.tsx has 263 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import styled from "styled-components";
import {useSelect, SelectOptionDefinition, SelectProvider, SelectValue} from '@mui/base/useSelect';
import {useOption} from '@mui/base/useOption';
import {ChevronDownIcon} from "@heroicons/react/20/solid";
import {useEffect, useState, useRef, useId, useLayoutEffect, RefObject, ReactNode} from "preact/compat";
Severity: Minor
Found in js/lib/components/select-list.tsx - About 2 hrs to fix
    Category
    Status