From 9fe7ccd1a3852bf34b0186d4c2d6aa1c3fc011ad Mon Sep 17 00:00:00 2001 From: evgeniywas Date: Thu, 22 Jun 2023 20:00:05 +0100 Subject: [PATCH] RC-4: remove logs and fix import --- src/@fuse/core/FuseAuthorization/FuseAuthorization.js | 1 - src/app/main/authPages/forgot-password/ForgotPasswordConfig.js | 2 +- src/app/theme-layouts/shared-components/UserNavbarHeader.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/@fuse/core/FuseAuthorization/FuseAuthorization.js b/src/@fuse/core/FuseAuthorization/FuseAuthorization.js index c4000ee..e75fb2d 100644 --- a/src/@fuse/core/FuseAuthorization/FuseAuthorization.js +++ b/src/@fuse/core/FuseAuthorization/FuseAuthorization.js @@ -50,7 +50,6 @@ class FuseAuthorization extends Component { const { location, userRole } = this.props; const { pathname } = location; const redirectUrl = loginRedirectUrl || this.defaultLoginRedirectUrl; - console.log(location, userRole, redirectUrl); /* User is guest diff --git a/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js b/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js index c577997..338b1f6 100644 --- a/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js +++ b/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js @@ -1,7 +1,7 @@ import i18next from 'i18next'; import ForgotPasswordPage from './ForgotPasswordPage'; -import authRoles from '../../../auth/authRoles'; +import authRoles from '../../../configs/authRoles'; import en from './i18n/en'; i18next.addResourceBundle('en', 'forgotPasswordPage', en); diff --git a/src/app/theme-layouts/shared-components/UserNavbarHeader.js b/src/app/theme-layouts/shared-components/UserNavbarHeader.js index 9c135bc..6c067de 100644 --- a/src/app/theme-layouts/shared-components/UserNavbarHeader.js +++ b/src/app/theme-layouts/shared-components/UserNavbarHeader.js @@ -40,7 +40,7 @@ function UserNavbarHeader(props) { src={user.data.photoURL} alt={user.data.displayName} > - {user.data.displayName.charAt(0)} + {user.data.displayName?.charAt(0)}