Reduce amount of DOM nodes
This commit is contained in:
parent
171539d42d
commit
f058fd8869
3 changed files with 16 additions and 12 deletions
|
@ -214,7 +214,7 @@ export default class ReplyThread extends React.Component {
|
|||
|
||||
static makeThread(parentEv, onHeightChanged, permalinkCreator, ref, layout) {
|
||||
if (!ReplyThread.getParentEventId(parentEv)) {
|
||||
return <div className="mx_ReplyThread_wrapper_empty" />;
|
||||
return null;
|
||||
}
|
||||
return <ReplyThread
|
||||
parentEv={parentEv}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue