Skip to content

Commit

Permalink
fix: process icon
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Feb 14, 2024
1 parent c6e8d69 commit 212aa05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/layout/header/internal/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,13 @@ const TriggerComponent = memo<{
})
const [error, setError] = React.useState(false)

if (!src) return null

return (
<Image
width={32}
height={32}
src={error ? ErrorFallback : src || ErrorFallback}
src={error ? ErrorFallback : src}
alt={processName}
priority
fetchPriority="low"
Expand Down

0 comments on commit 212aa05

Please sign in to comment.