()
| 84 | const [copied, setCopied] = useState(false); |
| 85 | |
| 86 | const handleCopy = () => { |
| 87 | navigator.clipboard.writeText(text).then(() => { |
| 88 | setCopied(true); |
| 89 | setTimeout(() => setCopied(false), 2000); |
| 90 | }); |
| 91 | }; |
| 92 | |
| 93 | return ( |
| 94 | <button |
nothing calls this directly
no outgoing calls
no test coverage detected