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

Function flushFlat

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

Source from the content-addressed store, hash-verified

203 const rendered: ReactNode[] = [];
204 let flatRun: Integration[] = [];
205 const flushFlat = () => {
206 if (flatRun.length === 0) return;
207 const run = flatRun;
208 flatRun = [];
209 rendered.push(
210 <CardStack key={`flat-${String(run[0]!.slug)}`} searchable>
211 <CardStackContent>{run.map(renderEntry)}</CardStackContent>
212 </CardStack>,
213 );
214 };
215
216 for (const item of items) {
217 if (item.type === "single") {

Callers 1

IntegrationGridFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected