The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ui): remove unused RowIcon import from McpServerRows
Steven Enamakel4058be6acdf2
diff --git a/app/src/components/channels/mcp/McpServerRows.tsx b/app/src/components/channels/mcp/McpServerRows.tsxindex c01eb7b753..7bd957a2a3 100644--- a/app/src/components/channels/mcp/McpServerRows.tsx+++ b/app/src/components/channels/mcp/McpServerRows.tsx@@ -26,7 +26,7 @@ import {Unplug,Wrench,} from 'lucide-react';-import { Fragment, type ReactNode, useCallback, useEffect, useMemo, useState } from 'react';+import { Fragment, useCallback, useEffect, useMemo, useState } from 'react';import { useT } from '../../../lib/i18n/I18nContext';import { mcpClientsApi } from '../../../services/api/mcpClientsApi';@@ -40,6 +40,7 @@ import ConnectAuthModal from './ConnectAuthModal';import McpIconButton from './McpIconButton';import McpServerForm from './McpServerForm';import McpToolPlayground from './McpToolPlayground';+import RowIcon from './RowIcon';import type { ConnStatus, InstalledServer, McpTool, ServerStatus } from './types';interface McpServerRowsProps {@@ -69,13 +70,6 @@ const STATUS_TONE: Record<ServerStatus, { variant: BadgeVariant; labelKey: strindisabled: null,};-/** The square identity tile every row in the MCP / Skills tables leads with. */-export const RowIcon = ({ children }: { children: ReactNode }) => (- <span className="flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-md border border-line bg-surface-muted">- {children}- </span>-);-type ToolsState =| { kind: 'loading' }| { kind: 'error'; message: string }diff --git a/app/src/components/channels/mcp/RowIcon.tsx b/app/src/components/channels/mcp/RowIcon.tsxnew file mode 100644index 0000000000..ac5054ff76--- /dev/null+++ b/app/src/components/channels/mcp/RowIcon.tsx@@ -0,0 +1,14 @@+import { type ReactNode } from 'react';++/**+ * The square identity tile every row in the MCP servers and Skills tables+ * leads with (an icon, a logo, or an initial). Shared so the three tables keep+ * one row grammar.+ */+const RowIcon = ({ children }: { children: ReactNode }) => (+ <span className="flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-md border border-line bg-surface-muted">+ {children}+ </span>+);++export default RowIcon;diff --git a/app/src/components/skills/SkillsExplorerTab.tsx b/app/src/components/skills/SkillsExplorerTab.tsxindex 16e99974f3..3fdbd4a151 100644--- a/app/src/components/skills/SkillsExplorerTab.tsx+++ b/app/src/components/skills/SkillsExplorerTab.tsx@@ -28,7 +28,7 @@ import {type WorkflowSummary,} from '../../services/api/skillsApi';import McpIconButton from '../channels/mcp/McpIconButton';-import { RowIcon } from '../channels/mcp/McpServerRows';+import RowIcon from '../channels/mcp/RowIcon';import EmptyStateCard from '../EmptyStateCard';import { Alert, AlertDescription, Badge, type BadgeVariant, ModalShell } from '../ui';import Button from '../ui/Button';