Skip to content

Commit

Permalink
Fix author avatar display in AuthorMapping component
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Khare <[email protected]>
  • Loading branch information
khareyash05 committed Oct 16, 2024
1 parent b9e391c commit 9f87a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/AuthorMapping.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function AuthorMapping({
<Link href={`/authors/${author.slug}`} key={index}>
<div className="p-5 rounded-lg mt-5 mb-5 flex flex-col justify-between border border-transparent transform transition-colors hover:border-accent-2 hover:dark:bg-neutral-400/30 hover:scale-105 cursor-pointer">
<div className="flex items-center mb-3 sm:mb-0">
{author.avatarUrl != "imag1" ? (
{author.avatarUrl != "imag1" && author.avatarUrl != "image" ? (
<Image
src={author.avatarUrl}
alt={`${author.ppmaAuthorName}'s Avatar`}
Expand Down

0 comments on commit 9f87a88

Please sign in to comment.