frontend/devices/connectivity/diagnosis.tsx
Function Diagnosis
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
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">