style(post): don't show reply button in post page

This commit is contained in:
plebeius.eth
2024-05-06 16:56:10 +02:00
parent edc08ca216
commit 7464b970fe
+5 -3
View File
@@ -154,9 +154,11 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
<img src='assets/icons/closed.gif' alt='' className={styles.closedIcon} title={t('closed')} />
</span>
)}
<span className={styles.replyButton}>
[<Link to={`/p/${subplebbitAddress}/${isDescription ? 'description' : isRules ? 'rules' : `c/${postCid}`}`}>{t('reply')}</Link>]
</span>
{!isInPostPage && (
<span className={styles.replyButton}>
[<Link to={`/p/${subplebbitAddress}/${isDescription ? 'description' : isRules ? 'rules' : `c/${postCid}`}`}>{t('reply')}</Link>]
</span>
)}
</span>
<span className={styles.postMenuBtnWrapper}>
<span