fix(pending post): "[Reply]" button and post menu shouldn't be clickable

This commit is contained in:
Tom (plebeius.eth)
2024-08-29 14:25:47 +02:00
parent cdee29e94f
commit 0cb386cf66
3 changed files with 19 additions and 4 deletions
@@ -184,6 +184,7 @@ const PostInfo = ({ openReplyModal, post, postReplyCount = 0, roles, isHidden }:
[
<Link
to={isInAllView && isDescription ? '/p/all/description' : `/p/${subplebbitAddress}/${isDescription ? 'description' : isRules ? 'rules' : `c/${postCid}`}`}
onClick={(e) => !cid && e.preventDefault()}
>
{_.capitalize(t('reply'))}
</Link>