diff --git a/src/components/comment/CommentsPopup.tsx b/src/components/comment/CommentsPopup.tsx index 6af8697..014a1bf 100644 --- a/src/components/comment/CommentsPopup.tsx +++ b/src/components/comment/CommentsPopup.tsx @@ -451,7 +451,7 @@ export const CommentsPopup = ({ title }: CommentsPopupProps) => { - {commentEvents.length > 0 && ( + {commentEvents.length + quoteRepostEvents.length > 0 && ( <>

{isNote ? ( @@ -504,15 +504,29 @@ export const CommentsPopup = ({ title }: CommentsPopupProps) => {

-
- {showQuoteReposts - ? quoteRepostEvents.map((reply) => ( - - )) - : commentEvents.map((reply) => ( - - ))} -
+ {(showQuoteReposts + ? quoteRepostEvents.length + : commentEvents.length) === 0 && !isLoading ? ( +
+

+ There are no{' '} + {showQuoteReposts ? 'quote-reposts' : 'replies'} to show +

+
+ ) : ( +
+ {showQuoteReposts + ? quoteRepostEvents.map((reply) => ( + + )) + : commentEvents.map((reply) => ( + + ))} +
+ )} )}