(button: HTMLElement)
| 284 | const timeouts = new Map<HTMLElement, ReturnType<typeof setTimeout>>() |
| 285 | |
| 286 | const updateLabel = (button: HTMLElement) => { |
| 287 | const labels = getLabels() |
| 288 | const copied = button.getAttribute("data-copied") === "true" |
| 289 | setCopyState(button, labels, copied) |
| 290 | } |
| 291 | |
| 292 | const handleClick = async (event: MouseEvent) => { |
| 293 | const target = event.target |
no test coverage detected