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

@@ -14,7 +14,7 @@
* @see project_sentry_full_integration.md
*/
import { NextRequest, NextResponse } from 'next/server';
import { type NextRequest, NextResponse } from 'next/server';
// Sentry Self-Hosted 內網地址
const SENTRY_HOST = 'http://192.168.0.110:9000';