Skip to content

Commit 7080f0b

Browse files
improvement(tables): use a stop (square) icon for canceling an active import
1 parent 51b2fa3 commit 7080f0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/components/emcn/components/progress-item/progress-item.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { forwardRef, type HTMLAttributes } from 'react'
22
import { cva, type VariantProps } from 'class-variance-authority'
33
import { AlertTriangle } from 'lucide-react'
4-
import { Check, Loader, X } from '@/components/emcn/icons'
4+
import { Check, Loader, Square, X } from '@/components/emcn/icons'
55
import { cn } from '@/lib/core/utils/cn'
66

77
const progressItemVariants = cva('flex items-start gap-2.5 px-3 py-3 text-[12px]', {
@@ -95,7 +95,7 @@ const ProgressItem = forwardRef<HTMLDivElement, ProgressItemProps>(function Prog
9595
title={trailingLabel}
9696
className='-mr-1 shrink-0 rounded-[4px] p-1 text-[var(--text-muted)] transition-colors hover-hover:text-[var(--text-primary)]'
9797
>
98-
<X className='size-[14px]' />
98+
{onCancel ? <Square className='size-[12px]' /> : <X className='size-[14px]' />}
9999
</button>
100100
)}
101101
</div>

0 commit comments

Comments
 (0)