MCPcopy Create free account
hub / github.com/benjitaylor/agentation / handleCopy

Function handleCopy

package/example/src/app/components/CodeBlock.tsx:119–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }, [copied]);
118
119 const handleCopy = async () => {
120 await navigator.clipboard.writeText(text);
121 setCopied(true);
122 setTimeout(() => setCopied(false), 2000);
123 };
124
125 return (
126 <button

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…