Skip to content

Commit b253b46

Browse files
authored
Merge pull request #88 from sunithvs/quickfix
fix: add unoptimized attribute to image for improved performance
2 parents 828069b + eddcd43 commit b253b46

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

www/components/profile-card/client.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ export default function ProfileCardClient({
2828
className="bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow"
2929
>
3030
<div className="aspect-square relative">
31-
<Image src={avatarUrl} alt={name} fill className="object-cover" />
31+
<Image
32+
src={avatarUrl}
33+
alt={name}
34+
fill
35+
className="object-cover"
36+
unoptimized
37+
/>
3238
</div>
3339
<div className="p-4">
3440
<h3 className="text-lg font-semibold mb-1 truncate">{name}</h3>

0 commit comments

Comments
 (0)