(e)
| 39 | } |
| 40 | |
| 41 | const onClipboardCopy = (e) => { |
| 42 | const src = e.src |
| 43 | if (Array.isArray(src) || typeof src === 'object') { |
| 44 | navigator.clipboard.writeText(JSON.stringify(src, null, ' ')) |
| 45 | } else { |
| 46 | navigator.clipboard.writeText(src) |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | useEffect(() => { |
| 51 | if (!disabled && nodes && edges && nodeId && inputParam) { |
no test coverage detected