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

Function flushFlat

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

Source from the content-addressed store, hash-verified

481 const rendered: ReactNode[] = [];
482 let flatRun: Integration[] = [];
483 const flushFlat = () => {
484 if (flatRun.length === 0) return;
485 const run = flatRun;
486 flatRun = [];
487 rendered.push(
488 <CardStack key={`flat-${String(run[0]!.slug)}`} searchable>
489 <CardStackContent>{run.map(renderEntry)}</CardStackContent>
490 </CardStack>,
491 );
492 };
493
494 for (const item of items) {
495 if (item.type === "single") {

Callers 1

IntegrationGridFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected