RC-4: remove logs and fix import

This commit is contained in:
2023-06-22 20:00:05 +01:00
parent 592e9e4dee
commit 9fe7ccd1a3
3 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -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)}
</Avatar>
</div>
<Typography className="username text-14 whitespace-nowrap font-medium">