(link?: string)
| 2 | import { useCopyLink } from './useCopy'; |
| 3 | |
| 4 | export function useCopyPostLink(link?: string): [boolean, CopyNotifyFunction] { |
| 5 | const [copying, copy] = useCopyLink(link ? () => link : undefined); |
| 6 | |
| 7 | return [copying, copy]; |
| 8 | } |
no test coverage detected