Skip to content

Commit

Permalink
feat: toast success / failure headings
Browse files Browse the repository at this point in the history
  • Loading branch information
chambaz committed Feb 20, 2025
1 parent cb2fa9c commit 116b3a1
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,11 @@ export function MultiStepToast({ title, steps }: MultiStepToastProps) {
<h2 className="flex items-center gap-1.5 text-lg mb-5 font-normal">
{allSuccessful ? (
<>
<IconCheck className="text-success flex-shrink-0" />
<IconCircleCheckFilled className="text-success flex-shrink-0" />
Transaction confirmed
</>
) : anyFailed ? (
<>
<IconX className="text-mrgn-error flex-shrink-0" />
Transaction failed
</>
<span className="text-mrgn-error">Transaction failed</span>
) : (
title
)}
Expand Down

0 comments on commit 116b3a1

Please sign in to comment.