Skip to content

Commit 7cb985b

Browse files
committed
cleanup
1 parent 5b15a32 commit 7cb985b

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

apps/sim/app/workspace/[workspaceId]/logs/components/search/search.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ export function AutocompleteSearch({
294294
<Button
295295
type='button'
296296
variant='ghost'
297-
size='sm'
298297
className='h-6 text-muted-foreground text-xs hover:text-foreground'
299298
onMouseDown={(e) => {
300299
e.preventDefault()

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ export function AddServerForm({
182182
<Button
183183
type='button'
184184
variant='ghost'
185-
size='sm'
186185
onClick={() => onRemoveHeader(key)}
187186
className='h-9 w-9 p-0 text-muted-foreground hover:text-foreground'
188187
>
@@ -242,7 +241,6 @@ export function AddServerForm({
242241
<Button
243242
type='button'
244243
variant='outline'
245-
size='sm'
246244
onClick={onAddHeader}
247245
className='h-9 text-muted-foreground hover:text-foreground'
248246
>
@@ -266,7 +264,6 @@ export function AddServerForm({
266264
<div className='flex items-center gap-2'>
267265
<Button
268266
variant='ghost'
269-
size='sm'
270267
onClick={onTestConnection}
271268
disabled={isTestingConnection || !formData.name.trim() || !formData.url?.trim()}
272269
className='text-muted-foreground hover:text-foreground'
@@ -278,14 +275,12 @@ export function AddServerForm({
278275
<div className='flex items-center gap-2'>
279276
<Button
280277
variant='ghost'
281-
size='sm'
282278
onClick={onCancel}
283279
className='text-muted-foreground hover:text-foreground'
284280
>
285281
Cancel
286282
</Button>
287283
<Button
288-
size='sm'
289284
onClick={onAddServer}
290285
disabled={
291286
serversLoading ||

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ export function MCP() {
368368
</div>
369369
<Button
370370
variant='ghost'
371-
size='sm'
372371
onClick={() => handleRemoveServer(server.id)}
373372
disabled={deletingServers.has(server.id)}
374373
className='h-8 text-muted-foreground hover:text-foreground'

apps/sim/components/ui/alert-dialog.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ import { X } from 'lucide-react'
66
import { buttonVariants } from '@/components/ui/button'
77
import { cn } from '@/lib/utils'
88

9-
const AlertDialog = React.forwardRef<
10-
React.ElementRef<typeof AlertDialogPrimitive.Root>,
11-
React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Root>
12-
>((props, ref) => <AlertDialogPrimitive.Root {...props} />)
13-
AlertDialog.displayName = 'AlertDialog'
9+
const AlertDialog = AlertDialogPrimitive.Root
1410

1511
const AlertDialogTrigger = AlertDialogPrimitive.Trigger
1612

0 commit comments

Comments
 (0)