Skip to content

Commit

Permalink
Fix running kernels icons issue #14962 (#15735)
Browse files Browse the repository at this point in the history
Attempt to fix issue #14962
  • Loading branch information
paolocarinci committed Feb 3, 2024
1 parent ba1a690 commit 2aff9e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/running/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ function Item(props: {
) : (
<caretDownIcon.react tag="span" stylesheet="runningItem" />
))}
{typeof icon === 'string' ? (
icon ? (
{icon ? (
typeof icon === 'string' ? (
<img src={icon} />
) : undefined
) : (
<icon.react tag="span" stylesheet="runningItem" />
)}
) : (
<icon.react tag="span" stylesheet="runningItem" />
)
) : undefined}
<span
className={ITEM_LABEL_CLASS}
title={title}
Expand Down

0 comments on commit 2aff9e3

Please sign in to comment.