fix: replace Next.js Image component with standard img tag for author profile

This commit is contained in:
Mauricio Siu
2025-03-02 21:38:27 -06:00
parent f8d9bf1905
commit c89a28f0f5

View File

@@ -221,18 +221,16 @@ export default async function BlogPostPage({ params }: Props) {
rel="noopener noreferrer" rel="noopener noreferrer"
className="block cursor-pointer transition-opacity hover:opacity-90" className="block cursor-pointer transition-opacity hover:opacity-90"
> >
<Image <img
src={post.primary_author.profile_image} src={post.primary_author.profile_image}
alt={post.primary_author.name} alt={post.primary_author.name}
fill
className="object-cover" className="object-cover"
/> />
</a> </a>
) : ( ) : (
<Image <img
src={post.primary_author.profile_image} src={post.primary_author.profile_image}
alt={post.primary_author.name} alt={post.primary_author.name}
fill
className="object-cover" className="object-cover"
/> />
)} )}