Skip to content

Commit

Permalink
Fix hiding fallback image
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Nov 20, 2023
1 parent 6aa5a98 commit 0f6ad45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function AttachmentCarouselPage({source, isAuthTokenRequired, isActive: initialI
setIsImageLoading(true);
}}
onLoadEnd={() => {
setShowFallback(false);
setTimeout(() => setShowFallback(false), 100);
setIsImageLoading(false);
isImageLoaded.current = true;
}}
Expand Down

0 comments on commit 0f6ad45

Please sign in to comment.