Need to show media attachments even when status size=s

This is because status is optional when there are media attachments

So if the status is empty, there's nothing to show at all lololol
This commit is contained in:
Lim Chee Aun 2022-12-12 16:25:55 +08:00
parent 0ecc8b0bd7
commit f7571f6df1

View file

@ -727,7 +727,7 @@ function Status({
content
</button>
)}
{!!mediaAttachments.length && size !== 's' && (
{!!mediaAttachments.length && (
<div class="media-container">
{mediaAttachments.map((media, i) => (
<Media