Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(frontend): remove unused import and variable to satisfy hooks

rcourtman22059210f7aa
diff --git a/frontend-modern/src/components/Settings/AISettings.tsx b/frontend-modern/src/components/Settings/AISettings.tsx
index df30d5b786..c4180b69a7 100644
--- a/frontend-modern/src/components/Settings/AISettings.tsx
+++ b/frontend-modern/src/components/Settings/AISettings.tsx
@@ -9,7 +9,6 @@ import { notificationStore } from '@/stores/notifications';
import { logger } from '@/utils/logger';
import { AIAPI } from '@/api/ai';
import Sparkles from 'lucide-solid/icons/sparkles';
-import ExternalLink from 'lucide-solid/icons/external-link';
import { isEnterprise, loadLicenseStatus } from '@/stores/license';
import type { AISettings as AISettingsType, AIProvider, AuthMethod } from '@/types/ai';
diff --git a/frontend-modern/src/components/Settings/AuditLogPanel.tsx b/frontend-modern/src/components/Settings/AuditLogPanel.tsx
index cca5b804fd..ab31389e63 100644
--- a/frontend-modern/src/components/Settings/AuditLogPanel.tsx
+++ b/frontend-modern/src/components/Settings/AuditLogPanel.tsx
@@ -232,12 +232,10 @@ export default function AuditLogPanel() {
let failed = 0;
let errors = 0;
let unavailable = 0;
- let unchecked = 0;
for (const event of signedEvents) {
const state = verification()[event.id];
if (!state) {
- unchecked += 1;
continue;
}
switch (state.status) {
@@ -254,7 +252,7 @@ export default function AuditLogPanel() {
unavailable += 1;
break;
default:
- unchecked += 1;
+ break;
}
}