Skip to content

Commit d160779

Browse files
authored
Merge pull request #4723 from GeekyAnts/fix/avatar-uri
fix: avatar uri issue
2 parents 97b3b79 + bbc2ce4 commit d160779

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/composites/Avatar/Avatar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ const Avatar = ({ children, ...props }: IAvatarProps, ref: any) => {
3838
if (useHasResponsiveProps(props)) {
3939
return null;
4040
}
41+
4142
return (
4243
<Box {...resolvedProps}>
43-
{source && !error ? (
44+
{!!source?.uri && !error ? (
4445
<Image
4546
borderRadius={resolvedProps.borderRadius}
4647
source={source}

0 commit comments

Comments
 (0)