()
| 60 | |
| 61 | |
| 62 | const handleButtonClick = () => { |
| 63 | if (isAtLimit) { |
| 64 | toast.error( |
| 65 | `You’ve reached the limit of ${MAX_UPDATE_IMAGES} reference images. Remove one to add another.` |
| 66 | ); |
| 67 | return; |
| 68 | } |
| 69 | fileInputRef.current?.click(); |
| 70 | }; |
| 71 | |
| 72 | const handleFileInputChange = async (e: React.ChangeEvent<HTMLInputElement>) => { |
| 73 | const files = e.target.files; |
nothing calls this directly
no outgoing calls
no test coverage detected