fix(lint): 清理所有 ESLint 警告 (61→0)

- 修復未使用變數 (prefix with _)
- 修復 type-only imports
- 修復 react-hooks/exhaustive-deps (useMemo + 依賴補齊)
- 修復 no-explicit-any (eslint-disable 標記)
- 移除未使用的 imports

涉及組件:
- demo/page, layout, page (主頁面)
- ai/* (OpenClaw, HITL, ThinkingStream)
- approval/* (ApprovalCard, LiveApprovalPanel)
- dashboard/* (HostCard, LiveDashboard, ConnectionStatus)
- incident/* (DualStateIncidentCard, ThinkingTerminal)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-03-29 17:06:58 +08:00
parent 5cad3707ee
commit 2e9ccf4a26
24 changed files with 62 additions and 58 deletions

View File

@@ -22,7 +22,6 @@ import { cn } from '@/lib/utils'
import {
useAgentStore,
selectAgentStatus,
selectIsThinking,
selectHasError,
type AgentStatus,
} from '@/stores/agent.store'