- Linting... Prettier...
This commit is contained in:
@@ -4,14 +4,13 @@ import PropTypes from 'prop-types';
|
||||
import UserProfileButton from './UserProfileButton/UserProfileButton.container.js';
|
||||
|
||||
export default function HeaderContentRight({ hideUserProfileButton, navigation }) {
|
||||
if (hideUserProfileButton) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (hideUserProfileButton) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <UserProfileButton />;
|
||||
return <UserProfileButton />;
|
||||
}
|
||||
|
||||
HeaderContentRight.propTypes = {
|
||||
hideUserProfileButton: PropTypes.bool.isRequired,
|
||||
hideUserProfileButton: PropTypes.bool.isRequired,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user