FarmBot/Farmbot-Web-App

View on GitHub
frontend/settings/hardware_settings/encoder_type.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function EncoderType has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function EncoderType(props: EncoderTypeProps) {
  const { hardware } = props;
  const handleChange = (key: McuParamName) => (d: DropDownItem) => {
    const val = d.value;
    if (isEncoderValue(val)) {
Severity: Minor
Found in frontend/settings/hardware_settings/encoder_type.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status