diff --git a/src/app/components/DeviceDetailOverlay.tsx b/src/app/components/DeviceDetailOverlay.tsx index 52c1764..b231a17 100644 --- a/src/app/components/DeviceDetailOverlay.tsx +++ b/src/app/components/DeviceDetailOverlay.tsx @@ -431,25 +431,42 @@ export default function DeviceDetailOverlay({ + )} {deviceData.mode !== undefined && ( -
- - { - const path = getDevicePath(); - updateDeviceSetting([...path, 'mode'], parseInt(e.target.value)); - }} - className="w-full px-3 py-2 border border-neutral-300 rounded-lg" - /> +
+ +
+ {([0, 1] as const).map((val, i) => ( + + ))} +
)}