fix: 🎨 Update useRef

This commit is contained in:
lga committed 2023-07-28 11:50:56 +02:00
1 parent befa4e9c06
commit cc781a9d22
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ const CustomWebcam = () => {
setImgSrc(imageSrc);
isCapture[1](true)
}
}, [webcamRef]);
}, [webcamRef, isCapture]);
return (
<div className="webcam-container">