MCPcopy Index your code
hub / github.com/Packstack-Tech/packstack / Sidebar

Function Sidebar

frontend/src/app/Pack/Pack.tsx:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 if (pack) {
50 const catWeights = getWeightByCategory(unit, pack.items);
51 const Sidebar = () => (
52 <>
53 <Statistics pack={pack}/>
54 <CategoryTable data={catWeights} unit={unit}/>
55 <CategoryChart data={catWeights}/>
56 </>
57 );
58
59 dispatch({ type: 'setTitle', value: 'Details' });
60 dispatch({ type: 'setContent', value: Sidebar() })

Callers 1

PackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected