We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bdbccf commit 4e8d293Copy full SHA for 4e8d293
2 files changed
frontend/src/components/Avatar.tsx
@@ -49,6 +49,7 @@ export const Avatar: React.FC<AvatarProps> = ({
49
<img
50
src={avatarUrl}
51
alt={name}
52
+ loading="lazy"
53
className="w-full h-full object-cover"
54
onError={() => {
55
setHasImageError(true);
frontend/src/providers/WalletProvider.tsx
@@ -206,7 +206,7 @@ export const WalletProvider: React.FC<{ children: React.ReactNode }> = ({ childr
206
>
207
<div className="flex items-center gap-3">
208
{wallet.icon ? (
209
- <img src={wallet.icon} alt={wallet.name} className="h-6 w-6 rounded" />
+ <img src={wallet.icon} alt={wallet.name} loading="lazy" className="h-6 w-6 rounded" />
210
) : (
211
<div className="h-6 w-6 rounded bg-white/10" />
212
)}
0 commit comments