fix: wrong mobile value

This commit is contained in:
Tom (plebeius.eth)
2024-06-06 18:09:45 +02:00
parent 13d3e7f271
commit 3a6d2f16b0
2 changed files with 4 additions and 3 deletions
@@ -10,6 +10,7 @@
font-weight: 700;
font-size: 16px;
height: 100%;
cursor: pointer;
}
.postMenu {
@@ -195,18 +195,18 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies, showReplies =
return (
<div className={styles.postMobile}>
{showAllReplies && (
{showReplies && (
<div className={styles.hrWrapper}>
<hr />
</div>
)}
<div className={showAllReplies ? styles.thread : styles.quotePreview}>
<div className={showReplies ? styles.thread : styles.quotePreview}>
<div className={styles.postContainer}>
<div className={styles.postOp}>
<PostInfoAndMedia openReplyModal={openReplyModal} post={post} roles={roles} />
{content && <PostMessageMobile post={post} />}
</div>
{!isInPostView && !isInPendingPostView && (
{!isInPostView && !isInPendingPostView && showReplies && (
<div className={styles.postLink}>
<span className={styles.info}>
{replyCount > 0 && `${replyCount} Replies`}