{usageSummary.by_operation && Object.entries(usageSummary.by_operation).map(([op, stats]) => (
{op.replace('_', ' ')}
{stats.credits} credits (${(Number(stats.cost) || 0).toFixed(2)})
))}
{(!usageSummary.by_operation || Object.keys(usageSummary.by_operation || {}).length === 0) && (
No usage data available
)}