fix: lazy load avatar

This commit is contained in:
2025-11-11 21:43:41 +01:00
parent 3a89f07a6f
commit f543061672

View File

@@ -83,7 +83,7 @@ function StreamerItem({ streamer }: { streamer: StreamInfoResponse[0] }) {
}}>
<div className="relative">
<Avatar className="h-9 w-9">
<AvatarImage src={streamer.channel.pfpUrl} alt={streamer.username} />
<AvatarImage src={streamer.channel.pfpUrl} alt={streamer.username} loading='lazy' />
<AvatarFallback>{streamer.username}</AvatarFallback>
</Avatar>
{streamer.isLive && (