diff --git a/web/src/routes/Debug.jsx b/web/src/routes/Debug.jsx index 8d95b0cd4..3f77b0be6 100644 --- a/web/src/routes/Debug.jsx +++ b/web/src/routes/Debug.jsx @@ -24,7 +24,6 @@ export default function Debug() { const detectorNames = Object.keys(detectors || emptyObject); const detectorDataKeys = Object.keys(detectors ? detectors[detectorNames[0]] : emptyObject); const cameraNames = Object.keys(cameras || emptyObject); - const cameraDataKeys = Object.keys(cameras[cameraNames[0]] || emptyObject); const handleCopyConfig = useCallback(() => { async function copy() { @@ -59,9 +58,9 @@ export default function Debug() { Detectors
- {detectorNames.map((name) => ( -
-
{name}
+ {detectorNames.map((detector) => ( +
+
{detector}
@@ -86,8 +85,8 @@ export default function Debug() { Cameras
- {cameraNames.map((camera, i) => ( -
+ {cameraNames.map((camera) => ( +
{camera.replaceAll('_', ' ')}