diff --git a/components/avatar/Avatar.js b/components/avatar/Avatar.js index 9d9dd944..84e6ea5c 100644 --- a/components/avatar/Avatar.js +++ b/components/avatar/Avatar.js @@ -10,7 +10,7 @@ const factory = (FontIcon) => {
{children} {cover && typeof image === 'string' && } - {!cover && (typeof image === 'string' ? {alt} : image)} + {!cover && (typeof image === 'string' ? {alt} : image)} {typeof icon === 'string' ? : icon} {title ? {title[0]} : null}