/** * MobileMenu prints the menu content for authenticated user or * shows login actions for those who are not authenticated. */ import React, { PropTypes } from 'react'; import { FormattedMessage } from 'react-intl'; import { Avatar, InlineButton, NamedLink } from '../../components'; import css from './MobileMenu.css'; const MobileMenu = props => { const { isAuthenticated, currentUserHasListings, name, onLogout } = props; if (!isAuthenticated) { return (