Skip to content

Commit eeebcb8

Browse files
committed
fix(toast): add success variant indicator dot
1 parent 1d89d6d commit eeebcb8

File tree

1 file changed

+3
-0
lines changed
  • apps/sim/components/emcn/components/toast

1 file changed

+3
-0
lines changed

apps/sim/components/emcn/components/toast/toast.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ function ToastItem({ toast: t, onDismiss }: { toast: ToastData; onDismiss: (id:
149149
{t.variant === 'error' && (
150150
<span className='mr-[8px] mb-[2px] inline-block h-[8px] w-[8px] rounded-[2px] bg-[var(--text-error)] align-middle' />
151151
)}
152+
{t.variant === 'success' && (
153+
<span className='mr-[8px] mb-[2px] inline-block h-[8px] w-[8px] rounded-[2px] bg-[var(--text-success)] align-middle' />
154+
)}
152155
{t.message}
153156
</div>
154157
<div className='flex shrink-0 items-start gap-[2px]'>

0 commit comments

Comments
 (0)