fix: 🎨 Update useRef

This commit is contained in:
Louis Gallet 2023-07-28 11:50:56 +02:00
parent befa4e9c06
commit cc781a9d22
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY

View File

@ -13,7 +13,7 @@ const CustomWebcam = () => {
setImgSrc(imageSrc);
isCapture[1](true)
}
}, [webcamRef]);
}, [webcamRef, isCapture]);
return (
<div className="webcam-container">