Merge pull request #1176 from esteemapp/bugfix/undifined-author-comment

Fixed undifined author comment issue
This commit is contained in:
uğur erdal 2019-10-01 21:25:32 +03:00 committed by GitHub
commit cd0fb550d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ class CommentsContainer extends Component {
if (isOwnProfile) { if (isOwnProfile) {
fetchPost(); fetchPost();
} else { } else if (author && permlink) {
await getComments(author, permlink, name) await getComments(author, permlink, name)
.then(comments => { .then(comments => {
if (selectedFilter && selectedFilter !== 'TRENDING') { if (selectedFilter && selectedFilter !== 'TRENDING') {