File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11'use client'
22
33import { Plus , X } from 'lucide-react'
4- import { Button } from '@/components/emcn'
5- import { Input , Label } from '@/components/ui'
4+ import { Button , Input , Label } from '@/components/emcn'
65import { EnvVarDropdown } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/env-var-dropdown'
76import { formatDisplayText } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/formatted-text'
87import type { McpServerFormData , McpServerTestResult } from '../types'
@@ -266,17 +265,19 @@ export function AddServerForm({
266265 variant = 'ghost'
267266 onClick = { onTestConnection }
268267 disabled = { isTestingConnection || ! formData . name . trim ( ) || ! formData . url ?. trim ( ) }
269- className = 'text-muted-foreground hover:text-foreground'
268+ className = 'h-9 text-muted-foreground hover:text-foreground'
270269 >
271270 { isTestingConnection ? 'Testing...' : 'Test Connection' }
272271 </ Button >
273- { testResult ?. success && < span className = 'text-green-600 text-xs' > ✓ Connected</ span > }
272+ { testResult ?. success && (
273+ < span className = 'text-muted-foreground text-xs' > ✓ Connected</ span >
274+ ) }
274275 </ div >
275276 < div className = 'flex items-center gap-2' >
276277 < Button
277278 variant = 'ghost'
278279 onClick = { onCancel }
279- className = 'text-muted-foreground hover:text-foreground'
280+ className = 'h-9 text-muted-foreground hover:text-foreground'
280281 >
281282 Cancel
282283 </ Button >
You can’t perform that action at this time.
0 commit comments