diff --git a/client/ui/Avatar.tsx b/client/ui/Avatar.tsx index b347723..d44d2ab 100644 --- a/client/ui/Avatar.tsx +++ b/client/ui/Avatar.tsx @@ -12,9 +12,9 @@ export default function Avatar({ avatarRef, ...props }: Args) { - if (src != null) + if (src != null && src != '') return - else if (text != null) + else if (text != null && text != '') return { text.substring(0, 1)