From 1dc4e0a550c0e428397c4e6b1428718600383aff Mon Sep 17 00:00:00 2001 From: Fede Date: Wed, 25 Mar 2020 07:56:31 -0300 Subject: [PATCH] fix: ImgAvatar background --- src/components/Profile/ImgAvatar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Profile/ImgAvatar.tsx b/src/components/Profile/ImgAvatar.tsx index 107548134..38893551c 100644 --- a/src/components/Profile/ImgAvatar.tsx +++ b/src/components/Profile/ImgAvatar.tsx @@ -15,6 +15,6 @@ export type ImgAvatarProps = Omit, 'height' | export default function ImgAvatar({ profile, address, size, src, ...props }: ImgAvatarProps) { const image = src || profile?.avatar?.avatar?.snapshots?.face || DEFAULT_AVATAR - const init = (address || profile?.address || '0x0')[2] + const init = (address || profile?.address.toString() || '0x0')[2] return } \ No newline at end of file