From 2395c9fbabf2c6a23ba092aa39058895466887cb Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 21 Sep 2022 12:42:53 +0700 Subject: [PATCH] fixed user avatar on settings --- src/components/profile/ProfileAvatar/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/profile/ProfileAvatar/index.tsx b/src/components/profile/ProfileAvatar/index.tsx index b4b63bbe..4168d385 100644 --- a/src/components/profile/ProfileAvatar/index.tsx +++ b/src/components/profile/ProfileAvatar/index.tsx @@ -32,12 +32,8 @@ const ProfileAvatar: FC = ({ [onChangePhoto], ); - const backgroundImage = photo - ? `url("${getURL(photo, ImagePresets.avatar)}")` - : undefined; - return ( - + {canEdit && } {canEdit && (