From 75b10ea5dd16dbfaa6e0f1892be3b8bbf0c8adca Mon Sep 17 00:00:00 2001 From: kKaskak <117831817+kKaskak@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:31:19 +0300 Subject: [PATCH] fixed conditional --- src/routes/Settings/Settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/Settings/Settings.js b/src/routes/Settings/Settings.js index 76a98ae59..fe3335176 100644 --- a/src/routes/Settings/Settings.js +++ b/src/routes/Settings/Settings.js @@ -300,9 +300,9 @@ const Settings = () => {
{ t('PRIVACY_POLICY') }
- { profile.auth !== null && profile.auth.user !== null && typeof profile.auth.user._id === 'string' ? + { profile.auth !== null && profile.auth.user !== null && typeof profile.auth.user.email === 'string' ?
-