refactor(dashboard,desktop,engine): remove unused imports, props, and locals

Clears the remaining no-unused-vars warnings across the dashboard app and
server, desktop main, and engine sources. Dead React state destructures are
collapsed to setter-only, unused props are underscore-prefixed to preserve
API shape, and unreferenced catch bindings are dropped. No behaviour change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-23 17:41:33 -07:00
parent b818aa2196
commit cfa444700f
54 changed files with 70 additions and 200 deletions

View File

@@ -1,4 +1,4 @@
import { useState, useEffect, useCallback } from "react";
import { useState, useEffect } from "react";
import { X, History, Trash2, Filter, RefreshCw, CheckCircle, XCircle, ArrowRight, Plus, Settings, AlertCircle, Loader2, Folder } from "lucide-react";
import { clearActivityLog, type ActivityLogEntry, type ActivityEventType, type ActivityFeedEntry } from "../api";
import { useActivityLog } from "../hooks/useActivityLog";
@@ -72,10 +72,10 @@ function formatTimestamp(timestamp: string): string {
* - Real-time updates via useActivityLog hook
*/
export function ActivityLogModal({
isOpen,
onClose,
tasks,
onOpenTaskDetail,
isOpen,
onClose,
tasks: _tasks,
onOpenTaskDetail,
projectId,
projects = [],
onProjectFilterChange,
@@ -136,7 +136,7 @@ export function ActivityLogModal({
await clearActivityLog();
refresh();
setShowConfirmClear(false);
} catch (err) {
} catch {
// Error handled by hook
setShowConfirmClear(false);
}