(file: UploadFile)
| 58 | } |
| 59 | |
| 60 | const handleRemove = (file: UploadFile) => { |
| 61 | setFileList((prevList) => { |
| 62 | return prevList.filter(item => item.uid !== file.uid) |
| 63 | }) |
| 64 | if (onRemove) { |
| 65 | onRemove(file) |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | const handleClick = () => { |
| 70 | if (fileInput.current) { |
nothing calls this directly
no outgoing calls
no test coverage detected