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

Function flushFlat

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

Source from the content-addressed store, hash-verified

601 const rendered: ReactNode[] = [];
602 let flatRun: Integration[] = [];
603 const flushFlat = () => {
604 if (flatRun.length === 0) return;
605 const run = flatRun;
606 flatRun = [];
607 rendered.push(
608 <CardStack key={`flat-${String(run[0]!.slug)}`} searchable>
609 <CardStackContent>{run.map(renderEntry)}</CardStackContent>
610 </CardStack>,
611 );
612 };
613
614 for (const item of items) {
615 if (item.type === "single") {

Callers 1

IntegrationGridFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected