()
| 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") { |