fix(frontend): allow lazy loading of images (#10895)

The `next/image` component has inbuilt lazy loading enabled, but in some
components, we are bypassing it using a priority flag. So, I have
reverted this in this PR.

### Checklist 📋
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  - [x] Lazy loading is working perfectly locally.
This commit is contained in:
Abhimanyu Yadav
2025-09-10 17:08:37 +05:30
committed by GitHub
parent f682ef885a
commit 34fbf4377f
3 changed files with 0 additions and 3 deletions

View File

@@ -51,7 +51,6 @@ export default function LibraryAgentCard({
alt={`${name} preview image`}
fill
className="object-cover"
priority
/>
)}
<div className="absolute bottom-4 left-4">

View File

@@ -33,7 +33,6 @@ export const CreatorCard = ({
width={64}
height={64}
className="h-full w-full object-cover"
priority
/>
) : (
<div className="h-full w-full bg-neutral-300 dark:bg-neutral-600" />

View File

@@ -51,7 +51,6 @@ export const StoreCard: React.FC<StoreCardProps> = ({
alt={`${agentName} preview image`}
fill
className="object-cover"
priority
/>
)}
{!hideAvatar && (