From 413eef34c1eefa7961a596a6604d8031e62631ca Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Wed, 11 Feb 2026 11:26:50 +0100 Subject: [PATCH] restore condition --- apps/studio/components/ui/ProfileImage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/studio/components/ui/ProfileImage.tsx b/apps/studio/components/ui/ProfileImage.tsx index 7128ad3f819..2534e060853 100644 --- a/apps/studio/components/ui/ProfileImage.tsx +++ b/apps/studio/components/ui/ProfileImage.tsx @@ -13,7 +13,7 @@ interface ProfileImageProps { export const ProfileImage = ({ alt, src, placeholder, className }: ProfileImageProps) => { const [hasInvalidImg, setHasInvalidImg] = useState(false) - return !src && !hasInvalidImg ? ( + return !!src && !hasInvalidImg ? (