MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / flushFlat

Function flushFlat

packages/react/src/pages/integrations.tsx:535–544  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

533 const rendered: ReactNode[] = [];
534 let flatRun: Integration[] = [];
535 const flushFlat = () => {
536 if (flatRun.length === 0) return;
537 const run = flatRun;
538 flatRun = [];
539 rendered.push(
540 <CardStack key={`flat-${String(run[0]!.slug)}`} searchable>
541 <CardStackContent>{run.map(renderEntry)}</CardStackContent>
542 </CardStack>,
543 );
544 };
545
546 for (const item of items) {
547 if (item.type === "single") {

Callers 1

IntegrationGridFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected