()
| 17 | const [copied, setCopied] = useState(false); |
| 18 | |
| 19 | const handleClick = () => { |
| 20 | if (!loading) { |
| 21 | onClick(); |
| 22 | setCopied(true); |
| 23 | setTimeout(() => setCopied(false), 2000); // Reset after 2 seconds |
| 24 | } |
| 25 | }; |
| 26 | |
| 27 | return ( |
| 28 | <TooltipProvider> |
nothing calls this directly
no outgoing calls
no test coverage detected