diff --git a/src/pages/thread/Comment.js b/src/pages/thread/Comment.js index 7967bc7..49d5371 100644 --- a/src/pages/thread/Comment.js +++ b/src/pages/thread/Comment.js @@ -46,7 +46,7 @@ const Comment = (props) => { {props.author} {props.deleted && ' (deleted by user)'} diff --git a/src/pages/thread/index.js b/src/pages/thread/index.js index e3c753c..36aa190 100644 --- a/src/pages/thread/index.js +++ b/src/pages/thread/index.js @@ -192,7 +192,7 @@ class Thread extends React.Component { comments={this.state.pushshiftCommentLookup} removed={this.state.removed} deleted={this.state.deleted} - postAuthor={author} + postAuthor={isDeleted(author) ? null : author} /> }