Skip to content

Commit

Permalink
fix: actually fix avatar image
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Alexander Strømseng committed Apr 10, 2024
1 parent 7c53414 commit c6670d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
7 changes: 6 additions & 1 deletion frontend/src/app/blog/[articleSlug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@ export default async function Page({
{avatarURL && (
<Avatar className="">
{avatarURL && (
<NextImage src={avatarURL} alt="Avatar Image" />
<NextImage
src={avatarURL}
alt="Avatar Image"
width={50}
height={50}
/>
)}
{!avatarURL && (
<AvatarFallback>
Expand Down
18 changes: 0 additions & 18 deletions frontend/src/components/AvatarImageFix.tsx

This file was deleted.

0 comments on commit c6670d6

Please sign in to comment.