Skip to content

Commit 798deca

Browse files
committed
use emcn
1 parent 7cb985b commit 798deca

File tree

1 file changed

+6
-5
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/settings-modal/components/mcp/components

1 file changed

+6
-5
lines changed

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/settings-modal/components/mcp/components/add-server-form.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
'use client'
22

33
import { 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'
65
import { EnvVarDropdown } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/env-var-dropdown'
76
import { formatDisplayText } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/formatted-text'
87
import 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>

0 commit comments

Comments
 (0)