(e: React.ChangeEvent<HTMLInputElement>)
| 164 | }, [onFilesAdded]); |
| 165 | |
| 166 | const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => { |
| 167 | if (e.target.files && e.target.files.length > 0) { |
| 168 | const validFiles = Array.from<File>(e.target.files).filter(isValidFile); |
| 169 | onFilesAdded(validFiles); |
| 170 | } |
| 171 | if (inputRef.current) inputRef.current.value = ''; |
| 172 | }; |
| 173 | |
| 174 | const handleManualPaste = async (e: React.MouseEvent) => { |
| 175 | e.stopPropagation(); |
nothing calls this directly
no outgoing calls
no test coverage detected