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

Function handleDrop

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

Source from the content-addressed store, hash-verified

406 const pinnedThread = pinnedThreads[pinnedThreads.length - 1];
407
408 const handleDrop = ({
409 source,
410 target,
411 from,
412 to,
413 }: {
414 source: string;
415 target: string;
416 from: string;
417 to: string;
418 }) => {
419 onDrop({ source, target, from, to });
420 };
421
422 async function uploadFiles(files: File[]) {
423 setProgress(0);

Callers

nothing calls this directly

Calls 1

onDropFunction · 0.50

Tested by

no test coverage detected