MCPcopy Create free account
hub / github.com/codeaashu/claude-code / FeedColumn

Function FeedColumn

src/components/LogoV2/FeedColumn.tsx:11–55  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

9 maxWidth: number;
10};
11export function FeedColumn(t0) {
12 const $ = _c(10);
13 const {
14 feeds,
15 maxWidth
16 } = t0;
17 let t1;
18 if ($[0] !== feeds) {
19 const feedWidths = feeds.map(_temp);
20 t1 = Math.max(...feedWidths);
21 $[0] = feeds;
22 $[1] = t1;
23 } else {
24 t1 = $[1];
25 }
26 const maxOfAllFeeds = t1;
27 const actualWidth = Math.min(maxOfAllFeeds, maxWidth);
28 let t2;
29 if ($[2] !== actualWidth || $[3] !== feeds) {
30 let t3;
31 if ($[5] !== actualWidth || $[6] !== feeds.length) {
32 t3 = (feed_0, index) => <React.Fragment key={index}><Feed config={feed_0} actualWidth={actualWidth} />{index < feeds.length - 1 && <Divider color="claude" width={actualWidth} />}</React.Fragment>;
33 $[5] = actualWidth;
34 $[6] = feeds.length;
35 $[7] = t3;
36 } else {
37 t3 = $[7];
38 }
39 t2 = feeds.map(t3);
40 $[2] = actualWidth;
41 $[3] = feeds;
42 $[4] = t2;
43 } else {
44 t2 = $[4];
45 }
46 let t3;
47 if ($[8] !== t2) {
48 t3 = <Box flexDirection="column">{t2}</Box>;
49 $[8] = t2;
50 $[9] = t3;
51 } else {
52 t3 = $[9];
53 }
54 return t3;
55}
56function _temp(feed) {
57 return calculateFeedWidth(feed);
58}

Callers

nothing calls this directly

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected