[Glitch] Fix glitched out "not found" message for non-existing profiles in web UI
Port 56f29c38b6
to glitch-soc
This commit is contained in:
committed by
Thibaut Girka
parent
fa4b51a110
commit
92e1950194
@ -3,7 +3,6 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import PropTypes from 'prop-types';
|
||||
import InnerHeader from 'flavours/glitch/features/account/components/header';
|
||||
import ActionBar from 'flavours/glitch/features/account/components/action_bar';
|
||||
import MissingIndicator from 'flavours/glitch/components/missing_indicator';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import { NavLink } from 'react-router-dom';
|
||||
@ -89,7 +88,7 @@ export default class Header extends ImmutablePureComponent {
|
||||
const { account, hideTabs, identity_proofs } = this.props;
|
||||
|
||||
if (account === null) {
|
||||
return <MissingIndicator />;
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user