Skip to content

Commit

Permalink
feat: spin pending icon
Browse files Browse the repository at this point in the history
  • Loading branch information
grikomsn committed Dec 5, 2023
1 parent 6ada0ae commit 1c2de55
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/HistoryDialog/HistoryList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,13 @@ export const Item = forwardRef<HTMLDivElement, ItemProps>(
})}
>
<span className="capitalize">{data.status}</span>
<StatusIcon status={data.status} className="w-4 h-4" />
<StatusIcon
status={data.status}
className={clsx(
"w-4 h-4",
data.status === "pending" && "animate-spin",
)}
/>
</div>
</div>

Expand Down

0 comments on commit 1c2de55

Please sign in to comment.