Try not use this loading=eager

This commit is contained in:
Lim Chee Aun 2023-03-28 00:54:46 +08:00
parent 8908359b50
commit a22bd4fa2e

View file

@ -86,7 +86,6 @@ function Media({ media, showOriginal, autoAnimate, onClick = () => {} }) {
alt={description} alt={description}
width={width} width={width}
height={height} height={height}
loading="eager"
onLoad={(e) => { onLoad={(e) => {
setImageLoaded(true); setImageLoaded(true);
}} }}