diff --git a/src/widgets/mjpeg/component.jsx b/src/widgets/mjpeg/component.jsx index 122ba511..b5a07a91 100644 --- a/src/widgets/mjpeg/component.jsx +++ b/src/widgets/mjpeg/component.jsx @@ -1,16 +1,37 @@ import Image from "next/image"; -import { useState } from 'react'; export default function Component({ service }) { const { widget } = service; const { stream, fit = "contain" } = widget; - const [src, setImgSrc] = useState(stream); return (