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

Function handleDrop

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

Source from the content-addressed store, hash-verified

377 const pinnedThread = pinnedThreads[pinnedThreads.length - 1];
378
379 const handleDrop = ({
380 source,
381 target,
382 from,
383 to,
384 }: {
385 source: string;
386 target: string;
387 from: string;
388 to: string;
389 }) => {
390 onDrop({ source, target, from, to });
391 handleLeftScroll();
392 };
393
394 function isPaginationView() {
395 return pathCursor && Number(pathCursor) > 0;

Callers

nothing calls this directly

Calls 2

handleLeftScrollFunction · 0.70
onDropFunction · 0.50

Tested by

no test coverage detected