Skip to content

Commit

Permalink
fix: timeout img not working (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
islxyqwe authored Oct 27, 2023
1 parent 73385d8 commit dddfb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphic-walker/src/components/timeoutImg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const ImageWithFallback = (
return (
<img
{...rest}
src={failed ? src : fallbackSrc}
src={failed ? fallbackSrc : src}
onError={() => {
setFailed(true);
}}
Expand Down

1 comment on commit dddfb71

@vercel
Copy link

@vercel vercel bot commented on dddfb71 Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.