openReplyModal && openReplyModal(cid)}>
{shortCid}
@@ -350,7 +350,7 @@ const ReplyDesktop = ({ reply, roles, openReplyModal }: PostProps) => {
>
)}
- {!cid && state === 'pending' && (
+ {!cid && state === 'pending' && stateString !== 'Failed' && (
<>
{loadingString}
@@ -439,7 +439,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
c/
{!cid ? (
- {state === 'failed' ? 'Failed' : 'Pending'}
+ {state === 'failed' || stateString === 'Failed' ? 'Failed' : 'Pending'}
) : (
openReplyModal && openReplyModal(cid)}>
{shortCid}
@@ -469,7 +469,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
}} />
)}
- {!cid && state === 'pending' && (
+ {!cid && state === 'pending' && stateString !== 'Failed' && (
<>
{loadingString}
@@ -478,7 +478,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies }: PostProps)
)}
- {!isInPostPage && (
+ {!isInPostPage && !isPendingPostPage && (
{replyCount > 0 && `${replyCount} Replies`}
@@ -553,7 +553,7 @@ const ReplyMobile = ({ reply, roles, openReplyModal }: PostProps) => {
{!cid ? (
- {state === 'failed' ? 'Failed' : 'Pending'}
+ {state === 'failed' || stateString === 'Failed' ? 'Failed' : 'Pending'}
) : (
openReplyModal && openReplyModal(cid)}>
{shortCid}
@@ -582,7 +582,7 @@ const ReplyMobile = ({ reply, roles, openReplyModal }: PostProps) => {
>
)}
- {!cid && state === 'pending' && (
+ {!cid && state === 'pending' && stateString !== 'Failed' && (
<>
{loadingString}