MCPcopy
hub / github.com/electerm/electerm / handleCopy

Function handleCopy

src/client/components/widgets/widget-instance.jsx:38–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 placement: 'top'
37 }
38 const handleCopy = () => {
39 if (serverInfo && serverInfo.url) {
40 copy(serverInfo.url)
41 }
42 }
43 const handleToggleAutoRun = () => {
44 window.store.toggleAutoRunWidget(item)
45 }

Callers

nothing calls this directly

Calls 1

copyFunction · 0.90

Tested by

no test coverage detected