fix(compliance): remove unused vars flagged by eslint build
This commit is contained in:
@@ -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' }}>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user