diff --git a/component/video/camera.tsx b/component/video/camera.tsx index 4d99d29..1923821 100644 --- a/component/video/camera.tsx +++ b/component/video/camera.tsx @@ -47,7 +47,9 @@ class StreamUploadManager { this.isUploading = true; const task = this.uploadQueue.shift(); try { - if (task) await task(); + if (task) { + await task(); + } } catch (error) { console.error("Error processing upload task", error); } finally {