diff --git a/frontend/src/components/pages/CompliancePage.js b/frontend/src/components/pages/CompliancePage.js index 50b0c76..c6a5833 100644 --- a/frontend/src/components/pages/CompliancePage.js +++ b/frontend/src/components/pages/CompliancePage.js @@ -29,10 +29,6 @@ const CATEGORY_COLORS = { 'Endpoint Protection': '#F97316', }; -function metricColor(metricId, category) { - return CATEGORY_COLORS[category] || '#94A3B8'; -} - function statusColor(status) { return STATUS_COLOR[status] || '#EF4444'; } @@ -209,10 +205,6 @@ export default function CompliancePage() { const metrics = teamMetrics(summary.entries, activeTeam); const lastUpload = summary.upload; - // Active tab counts (pre-filter for display) - const activeCount = activeTab === 'active' ? filteredDevices.length : null; - const resolvedCount = activeTab === 'resolved' ? filteredDevices.length : null; - return (