optimize img tag

This commit is contained in:
Ren Amamiya
2023-04-24 09:16:10 +07:00
parent 740dc85f13
commit 2014720f93
14 changed files with 66 additions and 10 deletions

View File

@@ -19,6 +19,8 @@ export const UserLarge = ({ pubkey, time }: { pubkey: string; time: number }) =>
src={profile?.picture || DEFAULT_AVATAR}
alt={pubkey}
className="h-11 w-11 rounded-md border border-white/10 object-cover"
loading="lazy"
fetchpriority="high"
/>
</div>
<div className="w-full flex-1">