From 319d37481044e2c7d99ac48ed94962c440558bd5 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Mon, 24 Feb 2025 22:59:17 +0100 Subject: [PATCH] fix(board): loading state wasn't showing in description page --- src/components/post-desktop/post-desktop.tsx | 2 +- src/components/post-mobile/post-mobile.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/post-desktop/post-desktop.tsx b/src/components/post-desktop/post-desktop.tsx index 223440fc..47497c29 100644 --- a/src/components/post-desktop/post-desktop.tsx +++ b/src/components/post-desktop/post-desktop.tsx @@ -407,7 +407,7 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies, showReplies )} {!isInPendingPostView && - !isDescription && + (!isDescription || (isDescription && !subplebbit?.updatedAt)) && !isRules && stateString && stateString !== 'Failed' && diff --git a/src/components/post-mobile/post-mobile.tsx b/src/components/post-mobile/post-mobile.tsx index 717d0f40..5a891e00 100644 --- a/src/components/post-mobile/post-mobile.tsx +++ b/src/components/post-mobile/post-mobile.tsx @@ -333,7 +333,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies, showReplies = )} {!isInPendingPostView && - !isDescription && + (!isDescription || (isDescription && !subplebbit?.updatedAt)) && !isRules && stateString && stateString !== 'Failed' &&