diff --git a/web/src/components/JSMpegPlayer.jsx b/web/src/components/JSMpegPlayer.jsx index 389d8a8da..7543091ff 100644 --- a/web/src/components/JSMpegPlayer.jsx +++ b/web/src/components/JSMpegPlayer.jsx @@ -21,7 +21,6 @@ export default function JSMpegPlayer({ camera }) { }, [url]); return ( -
-
+
); } diff --git a/web/src/routes/Camera.jsx b/web/src/routes/Camera.jsx index fa83255c6..df09ffc7d 100644 --- a/web/src/routes/Camera.jsx +++ b/web/src/routes/Camera.jsx @@ -82,14 +82,14 @@ export default function Camera({ camera }) { ) : null; let player; - if (viewMode == 'live') { + if (viewMode === 'live') { player = <>
; } - else if (viewMode == 'debug') { + else if (viewMode === 'debug') { player = <>
@@ -110,10 +110,10 @@ export default function Camera({ camera }) { {camera}