fix(post): failed replies would link to op

This commit is contained in:
Tom (plebeius.eth)
2024-07-05 11:08:33 +02:00
parent 8d05db8843
commit 44e518a3ad
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ const PostMessage = ({ post }: PostProps) => {
return (
<blockquote className={styles.postMessage}>
{isReply && !(removed || deleted) && isReplyingToReply && <ReplyQuotePreview isQuotelinkReply={true} quotelinkReply={quotelinkReply} />}
{isReply && !(removed || deleted) && state !== 'failed' && isReplyingToReply && <ReplyQuotePreview isQuotelinkReply={true} quotelinkReply={quotelinkReply} />}
{removed ? (
<Tooltip
children={<span className={styles.removedContent}>({t('this_post_was_removed')})</span>}
+1 -1
View File
@@ -178,7 +178,7 @@ const PostMessageMobile = ({ post }: PostProps) => {
return (
content && (
<blockquote className={`${styles.postMessage} ${!isReply && styles.clampLines}`}>
{isReply && !(removed || deleted) && isReplyingToReply && <ReplyQuotePreview isQuotelinkReply={true} quotelinkReply={quotelinkReply} />}
{isReply && !(removed || deleted) && state !== 'failed' && isReplyingToReply && <ReplyQuotePreview isQuotelinkReply={true} quotelinkReply={quotelinkReply} />}
{removed ? (
<Tooltip
children={<span className={styles.removedContent}>({t('this_post_was_removed')})</span>}