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