frontend/settings/firmware/firmware_path.tsx
Function ChangeFirmwarePath
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const ChangeFirmwarePath = (props: ChangeFirmwarePathProps) => {
const OPTIONS: Record<string, DropDownItem> = {
"": { label: t("Change firmware path to..."), value: "" },
ttyACM0: { label: t("ttyACM0 (recommended for Genesis)"), value: "ttyACM0" },
ttyAMA0: {