MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / handleDrop

Function handleDrop

apps/web/ui/ChannelView/ChatView/index.tsx:396–409  ·  view source on GitHub ↗
({
    source,
    target,
    from,
    to,
  }: {
    source: string;
    target: string;
    from: string;
    to: string;
  })

Source from the content-addressed store, hash-verified

394 const pinnedThread = pinnedThreads[pinnedThreads.length - 1];
395
396 const handleDrop = ({
397 source,
398 target,
399 from,
400 to,
401 }: {
402 source: string;
403 target: string;
404 from: string;
405 to: string;
406 }) => {
407 onDrop({ source, target, from, to });
408 handleLeftScroll();
409 };
410
411 async function uploadFiles(files: File[]) {
412 setProgress(0);

Callers

nothing calls this directly

Calls 2

handleLeftScrollFunction · 0.70
onDropFunction · 0.50

Tested by

no test coverage detected