diff --git a/src/components/comment/CommentsPopup.tsx b/src/components/comment/CommentsPopup.tsx index 0903c70..6af8697 100644 --- a/src/components/comment/CommentsPopup.tsx +++ b/src/components/comment/CommentsPopup.tsx @@ -188,6 +188,8 @@ export const CommentsPopup = ({ title }: CommentsPopupProps) => { }) }) + const [showQuoteReposts, setShowQuoteReposts] = useState(false) + const handleRepost = async (confirm: boolean) => { if (navigation.state !== 'idle') return @@ -452,7 +454,35 @@ export const CommentsPopup = ({ title }: CommentsPopupProps) => { {commentEvents.length > 0 && ( <>

- Replies + {isNote ? ( +
+ + +
+
setShowQuoteReposts(false)} + > + Replies +
+
setShowQuoteReposts(true)} + > + Quote-Reposts +
+
+
+ ) : ( + <>Replies + )}

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