Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const BundleAssetsTotalsChartPie = ({ className, jobs }) => {
const runs = jobs.map(getRun);
const rows = sortBy(mergeRunsById(runs), 'key');
const data = rows.map((row) => ({
key: row.key,
value: row.runs[0].value,
}));
const COLORS = getColors(data.length);
return (