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:
@@ -64,7 +64,7 @@ export const DotMatrixBg = forwardRef<HTMLDivElement, DotMatrixBgProps>(
|
||||
const dotPattern = `radial-gradient(circle, ${dotColor} ${dotSize}px, transparent ${dotSize}px)`
|
||||
|
||||
// Fade gradients
|
||||
const fadeStyles: Record<typeof fade, string> = {
|
||||
const _fadeStyles: Record<typeof fade, string> = {
|
||||
none: '',
|
||||
bottom: 'mask-image: linear-gradient(to bottom, black 70%, transparent 100%)',
|
||||
edges: 'mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%)',
|
||||
|
||||
Reference in New Issue
Block a user