fix(lint): resolve remaining ESLint errors (unused vars, any types, react-refresh)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-14 22:50:50 -05:00
parent 8cf5f12ffe
commit fb3669f9ac
54 changed files with 144 additions and 155 deletions

View File

@@ -162,7 +162,7 @@ export function ClientsTab({ tenantId, deviceId, active }: ClientsTabProps) {
}
return sortDir === 'asc' ? cmp : -cmp
})
}, [data?.clients, searchQuery, sortField, sortDir])
}, [data, searchQuery, sortField, sortDir])
// Stats
const totalClients = data?.clients.length ?? 0

View File

@@ -53,7 +53,7 @@ interface GaugeBarProps {
direction: 'RX' | 'TX'
}
function GaugeBar({ label, value, maxSpeed, direction }: GaugeBarProps) {
function GaugeBar({ value, maxSpeed, direction }: GaugeBarProps) {
const pct = Math.min((value / maxSpeed) * 100, 100)
const colorClass = getBarColor(pct)

View File

@@ -149,7 +149,7 @@ interface TooltipData {
y: number
}
function NodeTooltip({ data, onClose }: { data: TooltipData; onClose: () => void }) {
function NodeTooltip({ data }: { data: TooltipData; onClose?: () => void }) {
return (
<div
className="absolute z-50 rounded-lg border border-border bg-elevated shadow-lg px-3 py-2 text-xs pointer-events-none"