remove span element

This commit is contained in:
KDSBrowne 2017-04-05 15:38:15 -07:00
parent e932f707a9
commit 757d374383

View File

@ -54,7 +54,6 @@ class ChatListItem extends Component {
}
return (
<span>
<li className={cx(styles.chatListItem, linkClasses)}>
<Link
to={linkPath}
@ -66,7 +65,7 @@ class ChatListItem extends Component {
{!compact ? <span className={styles.chatNameMain}>{chat.name}</span> : null }
</div>
{(chat.unreadCounter > 0) ?
<div
<div
className={styles.unreadMessages}
aria-label={isSingleMessage
? intl.formatMessage(intlMessages.unreadSingular, { count: chat.unreadCounter })
@ -78,7 +77,6 @@ class ChatListItem extends Component {
: null}
</Link>
</li>
</span>
);
}