frontend/settings/hardware_settings/encoder_type.tsx
Function EncoderType
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function EncoderType(props: EncoderTypeProps) {
const { hardware } = props;
const handleChange = (key: McuParamName) => (d: DropDownItem) => {
const val = d.value;
if (isEncoderValue(val)) {