Skip to content

Commit 9824020

Browse files
committed
quick fix for discussions errors
1 parent 080fd37 commit 9824020

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/components/MessageDetails/MessageDetails.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class MessageDetails extends React.Component {
6161
<Comment
6262
key={idx}
6363
message={item}
64+
author={item.author}
6465
avatarUrl={_.get(item, 'author.photoURL', null)}
6566
authorName={item.author ? (item.author.firstName + ' ' + item.author.lastName) : 'Connect user'}
6667
date={moment(item.date).fromNow()}

src/components/MessageList/MessagingEmptyState.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const MessagingEmptyState = ({ currentUser, onClose }) => (
1111
<CloseIcon />
1212
</a>
1313
<Comment
14+
message=""
15+
author=""
1416
avatarUrl={require('../../assets/images/avatar-coder.svg')}
1517
authorName="Coder the Bot"
1618
self={false}

0 commit comments

Comments
 (0)