Added check in Comment to see if data exists before rendering
• Added: - check in Comment to see if data exists before rendering
This commit is contained in:
parent
4696307cc9
commit
e8f50b7ad5
|
@ -107,6 +107,7 @@ class Comment extends ImmutablePureComponent {
|
|||
ancestorAccountId,
|
||||
} = this.props
|
||||
|
||||
if (!status) return null
|
||||
if (isHidden) {
|
||||
return (
|
||||
<div tabIndex='0' ref={this.setContainerNode}>
|
||||
|
|
Loading…
Reference in New Issue