Skip to content

Commit

Permalink
Different debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Apr 24, 2024
1 parent edcdbef commit e6f4314
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/shared/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ const Header = ({
}, []);

if (TopNavRef) {
console.log('TopNavRef');
console.log(JSON.stringify(profile, 4, null));
return (
<div styleName="nav-header-wrapper">
<TopNavRef
Expand Down
3 changes: 3 additions & 0 deletions src/shared/containers/Contentful/MenuLoader/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ class MenuLoaderContainer extends React.Component {
}
// eslint-disable-next-line global-require
const { TopNav, LoginNav } = require('navigation-component');
console.log('TopNavRef');
console.log(JSON.stringify(profile, 4, null));
return (
<TopNav
menu={menu}
Expand All @@ -150,6 +152,7 @@ class MenuLoaderContainer extends React.Component {
setOpenMore={this.handleChangeOpenMore}
loggedIn={!_.isEmpty(auth.profile)}
profileHandle={auth.profile ? auth.profile.handle : ''}
isWipro={(profile && profile.email && profile.email.includes('@wipro.com'))}
logoLink={fields.logoLink}
/>
);
Expand Down

0 comments on commit e6f4314

Please sign in to comment.