From 654bb3960f8e8124f773321b69d4f06c058fe6b8 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Sun, 26 May 2024 16:33:21 +0200 Subject: [PATCH] style(multiboards): p/link is redundant in replies info --- src/components/post/post-desktop/post-desktop.tsx | 2 +- src/components/post/post-mobile/post-mobile.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/post/post-desktop/post-desktop.tsx b/src/components/post/post-desktop/post-desktop.tsx index 379073aa..4e1db8a1 100644 --- a/src/components/post/post-desktop/post-desktop.tsx +++ b/src/components/post/post-desktop/post-desktop.tsx @@ -82,7 +82,7 @@ const PostInfo = ({ openReplyModal, post, roles }: PostProps) => { {isDescription || isRules ? '' : ' '} - {subplebbitAddress && (isInAllView || isInSubscriptionsView) && ( + {subplebbitAddress && (isInAllView || isInSubscriptionsView) && !isReply && ( {' '} p/{subplebbitAddress && Plebbit.getShortAddress(subplebbitAddress)}{' '} diff --git a/src/components/post/post-mobile/post-mobile.tsx b/src/components/post/post-mobile/post-mobile.tsx index 90a80228..c762e9ae 100644 --- a/src/components/post/post-mobile/post-mobile.tsx +++ b/src/components/post/post-mobile/post-mobile.tsx @@ -72,7 +72,7 @@ const PostInfoAndMedia = ({ openReplyModal, post, roles }: PostProps) => { )} - {subplebbitAddress && (isInAllView || isInSubscriptionsView) && ( + {subplebbitAddress && (isInAllView || isInSubscriptionsView) && !isReply && (
{' '} p/{subplebbitAddress && Plebbit.getShortAddress(subplebbitAddress)}