mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
restore condition
This commit is contained in:
1 file changed
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user