Skip to content

Commit c89a28f

Browse files
committed
fix: replace Next.js Image component with standard img tag for author profile
1 parent f8d9bf1 commit c89a28f

File tree

1 file changed

+2
-4
lines changed
  • apps/website/app/[locale]/blog/[slug]

1 file changed

+2
-4
lines changed

apps/website/app/[locale]/blog/[slug]/page.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,18 +221,16 @@ export default async function BlogPostPage({ params }: Props) {
221221
rel="noopener noreferrer"
222222
className="block cursor-pointer transition-opacity hover:opacity-90"
223223
>
224-
<Image
224+
<img
225225
src={post.primary_author.profile_image}
226226
alt={post.primary_author.name}
227-
fill
228227
className="object-cover"
229228
/>
230229
</a>
231230
) : (
232-
<Image
231+
<img
233232
src={post.primary_author.profile_image}
234233
alt={post.primary_author.name}
235-
fill
236234
className="object-cover"
237235
/>
238236
)}

0 commit comments

Comments
 (0)