import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import VerifiedIcon from '../verified_icon'; import './display_name.scss'; export default class DisplayName extends ImmutablePureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, }; render () { const { account } = this.props; return ( {account.get('is_verified') && } @{account.get('acct')} ); } }