Skip to content

Commit 212aa05

Browse files
committed
fix: process icon
Signed-off-by: Innei <[email protected]>
1 parent c6e8d69 commit 212aa05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/layout/header/internal/Activity.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,13 @@ const TriggerComponent = memo<{
215215
})
216216
const [error, setError] = React.useState(false)
217217

218+
if (!src) return null
219+
218220
return (
219221
<Image
220222
width={32}
221223
height={32}
222-
src={error ? ErrorFallback : src || ErrorFallback}
224+
src={error ? ErrorFallback : src}
223225
alt={processName}
224226
priority
225227
fetchPriority="low"

0 commit comments

Comments
 (0)