RC-4: remove logs and fix import
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user