import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { NavLink } from 'react-router-dom' import PopoverLayout from './popover_layout' import AccountActionButton from '../account_action_button' import Avatar from '../avatar' import DisplayName from '../display_name' export default class UserInfoPopover extends ImmutablePureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, } render() { const { account } = this.props const content = !account ? null : { __html: account.get('note_emojified') } const to = !account ? '' : `/${account.get('acct')}` // : todo : is remote return (
) } }