fix: fileuploader erroring out

This commit is contained in:
Shariq Ansari 2025-02-03 16:18:37 +05:30
parent 29b4ca5668
commit ce07060bd8

View File

@ -216,7 +216,7 @@ async function startCamera() {
}
function stopStream() {
stream.value.getTracks().forEach((track) => track.stop())
stream.value?.getTracks()?.forEach((track) => track.stop())
showCamera.value = false
cameraImage.value = null
}