fix(UI): Remove duplicate standardized potential block in Inspector

This commit is contained in:
2026-01-24 12:07:04 +00:00
parent 5670660907
commit f5e1d1220e

View File

@@ -924,23 +924,6 @@ export function Inspector({ companyId, initialContactId, onClose, apiBase }: Ins
</div>
)}
{/* Standardized Metric */}
{data.standardized_metric_value != null && (
<div className="flex items-start gap-3 pt-4 border-t border-slate-200 dark:border-slate-800">
<div className="p-2 bg-white dark:bg-slate-800 rounded-lg text-green-500 mt-1">
<Ruler className="h-4 w-4" />
</div>
<div>
<div className="text-[10px] text-slate-500 uppercase font-bold tracking-tight">Standardized Potential ({data.standardized_metric_unit})</div>
<div className="text-xl text-green-600 dark:text-green-400 font-bold">
{data.standardized_metric_value.toLocaleString('de-DE')}
<span className="text-sm font-medium text-slate-500 ml-1">{data.standardized_metric_unit}</span>
</div>
<p className="text-xs text-slate-500 mt-1">Comparable value for potential analysis.</p>
</div>
</div>
)}
{/* Source & Confidence */}
{data.metric_source && (
<div className="flex justify-between items-center text-[10px] text-slate-500 pt-2 border-t border-slate-200 dark:border-slate-800">