diff --git a/src/components/Room/RoomFileUploadControls.tsx b/src/components/Room/RoomFileUploadControls.tsx index 161b1ea..b66ad27 100644 --- a/src/components/Room/RoomFileUploadControls.tsx +++ b/src/components/Room/RoomFileUploadControls.tsx @@ -51,7 +51,7 @@ export function RoomFileUploadControls({ const handleFileSelect: ChangeEventHandler = e => { const { files } = e.target - if (!files) return + if (!files || files.length < 1) return handleFileShareStart(files) }