MCPcopy
hub / github.com/firecrawl/fireplexity / handleCopy

Function handleCopy

app/chat-interface.tsx:118–122  ·  view source on GitHub ↗
(content: string, messageId: string)

Source from the content-addressed store, hash-verified

116 }
117
118 const handleCopy = (content: string, messageId: string) => {
119 navigator.clipboard.writeText(content)
120 setCopiedMessageId(messageId)
121 setTimeout(() => setCopiedMessageId(null), 2000)
122 }
123
124 const handleRewrite = () => {
125 // Get the last user message and resubmit it

Callers 1

ChatInterfaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected