()
| 34 | const [copied, onCopyLink] = useCopyLink(() => link); |
| 35 | const { logEvent } = useLogContext(); |
| 36 | const onCopyClick = () => { |
| 37 | onCopyLink({ format: copyFormat, message: copyMessage }); |
| 38 | logEvent(logProps); |
| 39 | |
| 40 | if (onCopy) { |
| 41 | onCopy(); |
| 42 | } |
| 43 | }; |
| 44 | |
| 45 | const renderText = () => { |
| 46 | const copy = text?.initial ?? 'Copy link'; |
nothing calls this directly
no test coverage detected