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

Function flushFlat

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

Source from the content-addressed store, hash-verified

180 const rendered: ReactNode[] = [];
181 let flatRun: Integration[] = [];
182 const flushFlat = () => {
183 if (flatRun.length === 0) return;
184 const run = flatRun;
185 flatRun = [];
186 rendered.push(
187 <CardStack key={`flat-${String(run[0]!.slug)}`} searchable>
188 <CardStackContent>{run.map(renderEntry)}</CardStackContent>
189 </CardStack>,
190 );
191 };
192
193 for (const item of items) {
194 if (item.type === "single") {

Callers 1

IntegrationGridFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected