Skip to content

Commit 254d0d6

Browse files
committed
fix: add loading attribute to image for improved performance
1 parent aa35fc3 commit 254d0d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/features/feed/components/FeedItemImage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const FeedItemImage = ({ imageUrl, fallbackImage }: FeedItemImageProps) =
2828
<img
2929
src={imageUrl}
3030
className="rowCover"
31+
loading="lazy"
3132
alt=""
3233
onError={(e) => {
3334
e.currentTarget.onerror = null

0 commit comments

Comments
 (0)