No need render div if no content
This commit is contained in:
parent
810596b7cf
commit
f98306ed18
|
@ -1370,6 +1370,7 @@ function Status({
|
|||
</button>
|
||||
</>
|
||||
)}
|
||||
{!!content && (
|
||||
<div class="content" ref={contentRef} data-read-more={readMoreText}>
|
||||
<div
|
||||
lang={language}
|
||||
|
@ -1427,6 +1428,7 @@ function Status({
|
|||
/>
|
||||
<QuoteStatuses id={id} instance={instance} level={quoted} />
|
||||
</div>
|
||||
)}
|
||||
{!!poll && (
|
||||
<Poll
|
||||
lang={language}
|
||||
|
|
Loading…
Reference in a new issue