This commit is contained in:
parent
b425552fe1
commit
c4e7e7d13b
@ -51,7 +51,7 @@ export function RoomFileUploadControls({
|
||||
const handleFileSelect: ChangeEventHandler<HTMLInputElement> = e => {
|
||||
const { files } = e.target
|
||||
|
||||
if (!files) return
|
||||
if (!files || files.length < 1) return
|
||||
|
||||
handleFileShareStart(files)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user