()
| 82 | }; |
| 83 | |
| 84 | const onRemove = () => { |
| 85 | setValue(currentImageName, null); |
| 86 | setValue(name, null); |
| 87 | setPreview(null); |
| 88 | if (inputRef.current) { |
| 89 | inputRef.current.value = ''; |
| 90 | } |
| 91 | }; |
| 92 | |
| 93 | const getDisplayImage = (): string | null => { |
| 94 | if (preview) { |
no outgoing calls
no test coverage detected