mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post menu): block button was visible for description and rules
This commit is contained in:
@@ -192,7 +192,7 @@ const PostMenuDesktop = ({ post }: { post: Comment }) => {
|
||||
subplebbitAddress={subplebbitAddress}
|
||||
onClose={handleClose}
|
||||
/>
|
||||
<BlockUserButton address={author?.address} />
|
||||
{!isDescription && !isRules && <BlockUserButton address={author?.address} />}
|
||||
{(isInAllView || isInSubscriptionsView) && <BlockBoardButton address={subplebbitAddress} />}
|
||||
</div>
|
||||
</FloatingFocusManager>,
|
||||
|
||||
Reference in New Issue
Block a user