fix(compliance): remove unused vars flagged by eslint build

This commit is contained in:
2026-03-31 15:20:28 -06:00
parent 4676279a72
commit 3bb86e8369
2 changed files with 1 additions and 9 deletions

View File

@@ -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 (
<div style={{ paddingBottom: '2rem' }}>