fix: 🎨 Update useRef
This commit is contained in:
@ -13,7 +13,7 @@ const CustomWebcam = () => {
|
||||
setImgSrc(imageSrc);
|
||||
isCapture[1](true)
|
||||
}
|
||||
}, [webcamRef]);
|
||||
}, [webcamRef, isCapture]);
|
||||
|
||||
return (
|
||||
<div className="webcam-container">
|
||||
|
Reference in New Issue
Block a user