()
| 57 | }; |
| 58 | |
| 59 | const handleDownloadBoth = () => { |
| 60 | if (content.secondaryImageUrl) { |
| 61 | downloadImage(content.secondaryImageUrl, `line-art-${Date.now()}.png`); |
| 62 | } |
| 63 | if (content.imageUrl) { |
| 64 | downloadImage(content.imageUrl, `final-result-${Date.now()}.png`); |
| 65 | } |
| 66 | }; |
| 67 | |
| 68 | const handleDownloadComparison = useCallback(async () => { |
| 69 | const imagesToLoad: {url: string | null, img: HTMLImageElement}[] = [ |
nothing calls this directly
no test coverage detected