small fixes

This commit is contained in:
Joao Correia
2025-01-29 15:35:59 +00:00
parent a40ae04aa3
commit 42a8ec2f8a
5 changed files with 26 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ export default function RequestedBy({ prefix, name, profileImage }: Props) {
<div className="flex items-center space-x-2">
<p className="text-xs font-medium text-gray-800">{prefix} {name}</p>
<Image
src={profileImage}
src={profileImage ? profileImage : "/defaultAvatar.png"}
alt={name}
width={24}
height={24}