From bc098108025af85a630396850f17f18dd73cc85c Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Tue, 8 Sep 2020 09:34:58 +0700 Subject: [PATCH] fixed empty social accounts appearance --- src/components/profile/ProfileAccounts/index.tsx | 2 +- src/components/profile/ProfileAccounts/styles.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/profile/ProfileAccounts/index.tsx b/src/components/profile/ProfileAccounts/index.tsx index cc4c80d8..33c1652d 100644 --- a/src/components/profile/ProfileAccounts/index.tsx +++ b/src/components/profile/ProfileAccounts/index.tsx @@ -111,7 +111,7 @@ const ProfileAccountsUnconnected: FC = ({ -
{it.name}
+
{it.name || it.id}
authDropSocial(it.provider, it.id)} /> diff --git a/src/components/profile/ProfileAccounts/styles.scss b/src/components/profile/ProfileAccounts/styles.scss index b425072d..f8f0073f 100644 --- a/src/components/profile/ProfileAccounts/styles.scss +++ b/src/components/profile/ProfileAccounts/styles.scss @@ -50,6 +50,7 @@ background-size: cover; border-radius: 2px; position: relative; + background: $content_bg; } &__provider {