MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / handleCopyCode

Function handleCopyCode

frontend/src/components/Pipeline/CodeViewer.tsx:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }, [currentPipeline?.code]);
15
16 const handleCopyCode = () => {
17 if (currentPipeline?.code) {
18 navigator.clipboard.writeText(currentPipeline.code);
19 // You could add a toast notification here
20 }
21 };
22
23 const handleDownloadCode = () => {
24 if (currentPipeline?.code) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected