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

@@ -31,7 +31,7 @@ interface TemplateEditorProps {
const VARIABLE_TYPES = ['string', 'ip', 'integer', 'boolean', 'subnet'] as const
export function TemplateEditor({ tenantId: _tenantId, template, onSave, onCancel }: TemplateEditorProps) {
export function TemplateEditor({ template, onSave, onCancel }: TemplateEditorProps) {
const [name, setName] = useState(template?.name ?? '')
const [description, setDescription] = useState(template?.description ?? '')
const [content, setContent] = useState(template?.content ?? '')

View File

@@ -89,6 +89,7 @@ export function TemplatePushWizard({ open, onClose, tenantId, template }: Templa
const selectedDevices = devices?.filter((d) => selectedDeviceIds.has(d.id)) ?? []
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const handleGroupSelect = (_groupId: string) => {
// For now, just select all online devices. In a real implementation,
// we'd load group members from the API. Here we select all devices