No lazy loading when loading in the carousel

pull/42/head
Lim Chee Aun 2023-01-06 22:08:22 +08:00
rodzic 6156f88721
commit 096712a9dd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -742,7 +742,7 @@ function Media({ media, showOriginal, autoAnimate, onClick = () => {} }) {
alt={description} alt={description}
width={width} width={width}
height={height} height={height}
loading="lazy" loading={showOriginal ? 'eager' : 'lazy'}
style={ style={
!showOriginal && { !showOriginal && {
backgroundColor: backgroundColor: