From a39ead1864db9e5bc5f57e4cabd029ce3055441e Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 28 Mar 2023 01:07:46 +0800 Subject: [PATCH] Revert "Try not use this loading=eager" This reverts commit a22bd4fa2e1f0242da4df6c1e4244a2c76c2321c. --- src/components/media.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/media.jsx b/src/components/media.jsx index 306aae7f..6ad46727 100644 --- a/src/components/media.jsx +++ b/src/components/media.jsx @@ -86,6 +86,7 @@ function Media({ media, showOriginal, autoAnimate, onClick = () => {} }) { alt={description} width={width} height={height} + loading="eager" onLoad={(e) => { setImageLoaded(true); }}