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:
@@ -406,7 +406,6 @@ function ApiKeyEntryForm({
|
||||
import {
|
||||
getOnboardingState,
|
||||
saveOnboardingState,
|
||||
clearOnboardingState,
|
||||
markOnboardingCompleted,
|
||||
markStepSkipped,
|
||||
getSkippedSteps,
|
||||
@@ -1523,7 +1522,6 @@ export function ModelOnboardingModal({
|
||||
const connectedCount = authProviders.filter(p => p.id !== "github" && p.authenticated).length;
|
||||
const totalAiProviders = authProviders.filter(p => p.id !== "github").length;
|
||||
const skippedCount = Object.keys(skippedProviders).filter(id => !authProviders.find(p => p.id === id)?.authenticated).length;
|
||||
const connectedProviders = authProviders.filter(p => p.id !== "github" && p.authenticated);
|
||||
|
||||
if (totalAiProviders === 0) return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user