From 096712a9dda7816544b5f9b3e749f415dba344cc Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 6 Jan 2023 22:08:22 +0800 Subject: [PATCH] No lazy loading when loading in the carousel --- src/components/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 818c2c95..425859e9 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -742,7 +742,7 @@ function Media({ media, showOriginal, autoAnimate, onClick = () => {} }) { alt={description} width={width} height={height} - loading="lazy" + loading={showOriginal ? 'eager' : 'lazy'} style={ !showOriginal && { backgroundColor: