BOD-14 More refactoring for messaging. Styles removed.

This commit is contained in:
Patrick Fic
2020-03-27 17:03:48 -07:00
parent c0be80b42e
commit 644737e1c3
9 changed files with 122 additions and 82 deletions

View File

@@ -7,10 +7,11 @@ import "./chat-conversation.styles.scss"; //https://bootsnipp.com/snippets/exR5v
export default function ChatConversationComponent({
conversation,
messages,
subState
subState,
unreadCount
}) {
return (
<Badge count={messages.length}>
<Badge count={unreadCount}>
<Card className='chat-overlay' size='small'>
{conversation.open ? (
<ChatConversationOpenComponent