From 25533f088cd4bff4a96704c6c7822c03543aaecd Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 16 Jul 2025 08:51:49 -0500 Subject: [PATCH] Restore image fallback check to 100ms --- src/components/image/ImageWithFallback.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/image/ImageWithFallback.tsx b/src/components/image/ImageWithFallback.tsx index b59e3f96..f67fe62e 100644 --- a/src/components/image/ImageWithFallback.tsx +++ b/src/components/image/ImageWithFallback.tsx @@ -34,11 +34,11 @@ export default function ImageWithFallback({ useEffect(() => { isLoadingRef.current = isLoading; }, [isLoading]); useEffect(() => { const timeout = setTimeout(() => { - // If image is still loading after 150ms, force CSS animation + // If image is still loading after 100ms, force CSS animation if (isLoadingRef.current) { setFadeFallbackTransition(true); } - }, 150); + }, 100); return () => clearTimeout(timeout); }, []);