High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: resolve all lint warnings
Bosch71ba0523a936
diff --git a/dashboard/src/pages/AgentsPage.tsx b/dashboard/src/pages/AgentsPage.tsxindex 764977e0..3b017ed4 100644--- a/dashboard/src/pages/AgentsPage.tsx+++ b/dashboard/src/pages/AgentsPage.tsx@@ -32,10 +32,12 @@ export default function AgentsPage() {};// Agents are loaded via SSE init event — only load if empty+ // Load once on mount if empty — intentionally omitting deps to avoid refetch loopsuseEffect(() => {if (agents.length === 0) {loadAgents();}+ // eslint-disable-next-line react-hooks/exhaustive-deps}, []);const filteredEvents = events.filter((e) => {diff --git a/dashboard/src/pages/MonitoringPage.tsx b/dashboard/src/pages/MonitoringPage.tsxindex 426449c9..90c73546 100644--- a/dashboard/src/pages/MonitoringPage.tsx+++ b/dashboard/src/pages/MonitoringPage.tsx@@ -53,18 +53,19 @@ export default function MonitoringPage() {tabsByInstance[inst.id] = instTabs;}- addChartDataPoint(dataPoint as any);+ addChartDataPoint(dataPoint as Parameters<typeof addChartDataPoint>[0]);setCurrentTabs(tabsByInstance);} catch (e) {console.error("Failed to fetch tabs:", e);}}, [instances, addChartDataPoint, setCurrentTabs]);- // Initial load+ // Load once on mount if empty — intentionally omitting deps to avoid refetch loopsuseEffect(() => {if (instances.length === 0) {loadInstances();}+ // eslint-disable-next-line react-hooks/exhaustive-deps}, []);// Poll tabsdiff --git a/dashboard/src/pages/ProfilesPage.tsx b/dashboard/src/pages/ProfilesPage.tsxindex de42c820..4b942e25 100644--- a/dashboard/src/pages/ProfilesPage.tsx+++ b/dashboard/src/pages/ProfilesPage.tsx@@ -40,11 +40,12 @@ export default function ProfilesPage() {}};- // Only load on mount if empty — SSE handles updates+ // Load once on mount if empty — SSE handles updatesuseEffect(() => {if (profiles.length === 0) {loadProfiles();}+ // eslint-disable-next-line react-hooks/exhaustive-deps}, []);const handleCreate = async () => {diff --git a/dashboard/src/pages/SettingsPage.tsx b/dashboard/src/pages/SettingsPage.tsxindex 1ec0e919..5e2ecd65 100644--- a/dashboard/src/pages/SettingsPage.tsx+++ b/dashboard/src/pages/SettingsPage.tsx@@ -9,6 +9,7 @@ export default function SettingsPage() {const [local, setLocal] = useState<Settings>(settings);const [saving, setSaving] = useState(false);+ // Load settings on mountuseEffect(() => {const load = async () => {try {@@ -24,6 +25,7 @@ export default function SettingsPage() {}};load();+ // eslint-disable-next-line react-hooks/exhaustive-deps}, []);const handleSave = async () => {