()
| 34 | const { isDark, theme } = useTheme(); |
| 35 | |
| 36 | const handleCopy = async () => { |
| 37 | try { |
| 38 | await navigator.clipboard.writeText(sourceCode); |
| 39 | setToolTip('Copied!'); |
| 40 | } catch { |
| 41 | setToolTip('Something went wrong.'); |
| 42 | } |
| 43 | }; |
| 44 | |
| 45 | const getBtnMouseEvents = (anchorRef, tooltip) => ({ |
| 46 | onMouseEnter() { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…