import React, { Component } from 'react'; import { FormattedMessage as Message, FormattedRelative as Relative, FormattedHTMLMessage as HTMLMessage } from 'react-intl'; import Helmet from 'react-helmet'; import { userShape } from 'components/user/User'; import ProfileField from './ProfileField'; import styles from './profile.scss'; import profileForm from './profileForm.scss'; import messages from './Profile.messages'; export default class Profile extends Component { static displayName = 'Profile'; static propTypes = { user: userShape }; render() { const { user } = this.props; return (
{(pageTitle) => (

{pageTitle}

)}

} value={user.username} warningMessage={} /> } link="/profile/change-password" value={) }} />} warningMessage={user.shouldChangePassword ? ( ) : ''} /> } value={} />
); } }