FarmBot/Farmbot-Web-App

View on GitHub
frontend/devices/connectivity/diagnosis.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Diagnosis has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function Diagnosis(props: DiagnosisProps) {
  const diagnosisBoolean = diagnosisStatus(props.statusFlags);
  const diagnosisColor = diagnosisBoolean ? "green" : "red";
  const navigate = useNavigate();
  return <Row className="diagnosis-section grid-exp-2">
Severity: Minor
Found in frontend/devices/connectivity/diagnosis.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status