{breakdown.slice(0, showingAll ? breakdown.length : 5).map(currOp => {
const {name, percentage, totalInterval} = currOp;
const operationName = typeof name === 'string' ? name : t('Other');
const pctLabel = isFinite(percentage) ? Math.round(percentage * 100) : '∞';
return (
{operationName}:{' '}
({pctLabel}%)
);
})}
{breakdown.length > 5 && (
setShowingAll(prev => !prev)}>{renderText}
)}