restore condition

This commit is contained in:
Francesco Sansalvadore committed 2026-02-11 11:26:50 +01:00
1 parent efbc545977
commit 413eef34c1
1 file changed
+1 -1
+1 -1
View File
@@ -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 ? (
<Image
alt={alt ?? ''}
src={src}