diff --git a/src/app/views/authentication/profile/Profile.tsx b/src/app/views/authentication/profile/Profile.tsx index dd84ad3e7..d57e648b0 100644 --- a/src/app/views/authentication/profile/Profile.tsx +++ b/src/app/views/authentication/profile/Profile.tsx @@ -98,7 +98,6 @@ export class Profile extends Component { const { user } = this.state; const { intl: { messages }, - mobileScreen, minimised, graphExplorerMode, }: any = this.props; @@ -158,11 +157,7 @@ export class Profile extends Component { return (
- {mobileScreen && - - } - - {!mobileScreen && this.showProfileComponent(profileProperties, graphExplorerMode, menuProperties)} + {this.showProfileComponent(profileProperties, graphExplorerMode, menuProperties)}
); } @@ -175,13 +170,13 @@ export class Profile extends Component { styles={profileProperties.styles} hidePersonaDetails={profileProperties.hidePersonaDetails} />; - if (graphExplorerMode === Mode.TryIt) { - return - {persona} - ; - } + if (graphExplorerMode === Mode.TryIt) { + return + {persona} + ; + } - return persona; + return persona; } }