diff --git a/components/LazyImage.js b/components/LazyImage.js index 4556bd0d..d878ddb1 100644 --- a/components/LazyImage.js +++ b/components/LazyImage.js @@ -60,6 +60,7 @@ export default function LazyImage({ ref: imageRef, src: imageLoaded ? src : placeholderSrc, alt: alt, + style: src ? style : { height: '0px', ...style }, onLoad: handleImageLoad }