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

@@ -6,15 +6,13 @@
* provides a visual rule builder form, and supports move up/down reordering.
*/
import { useState, useCallback, useMemo } from 'react'
import { useState, useCallback } from 'react'
import { toast } from 'sonner'
import {
Plus,
MoreHorizontal,
Pencil,
Trash2,
ArrowUp,
ArrowDown,
Eye,
EyeOff,
Shield,
@@ -472,11 +470,6 @@ export function FirewallPanel({ tenantId, deviceId, active }: ConfigPanelProps)
setPreviewOpen(false)
}, [panel])
const afterApply = useMemo(() => {
// When applyChanges succeeds, the hook auto-refetches via queryClient.invalidateQueries
return panel.pendingChanges.length
}, [panel.pendingChanges.length])
// -------------------------------------------------------------------------
// Render
// -------------------------------------------------------------------------