Skip to content

Commit

Permalink
zero out
Browse files Browse the repository at this point in the history
  • Loading branch information
blackmann committed Apr 11, 2024
1 parent 725032f commit 71e6960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/components/media-preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function MediaPreview({ media, open, onClose, post, setMedia }: Props) {
posted {postTime(post.createdAt)}
</p>

{otherMedia.length && (
{Boolean(otherMedia.length) && (
<p className="text-sm text-secondary font-mono">
{post.media.length} attachments
</p>
Expand Down

0 comments on commit 71e6960

Please sign in to comment.