From a9604198d8b0f69a38452f566cedf19262c711d7 Mon Sep 17 00:00:00 2001 From: bluecloud <96812901+pitb2022@users.noreply.github.com> Date: Thu, 25 Aug 2022 15:34:53 +0800 Subject: [PATCH 1/2] fix:Show the same result when switching tag feeds --- src/views/TagDetail/Articles/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/TagDetail/Articles/index.tsx b/src/views/TagDetail/Articles/index.tsx index 49d57e95bb..928c18f3d2 100644 --- a/src/views/TagDetail/Articles/index.tsx +++ b/src/views/TagDetail/Articles/index.tsx @@ -180,7 +180,7 @@ const TagDetailArticles = ({ tagId, feedType }: TagArticlesProps) => { {(edges || []).map(({ node, cursor }, i) => ( - + Date: Fri, 26 Aug 2022 16:27:10 +0800 Subject: [PATCH 2/2] feat(notice): revert --- .../CommentNewReplyNotice.tsx | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/src/components/Notice/CommentCommentNotice/CommentNewReplyNotice.tsx b/src/components/Notice/CommentCommentNotice/CommentNewReplyNotice.tsx index dca49e211a..d3f06a1cd1 100644 --- a/src/components/Notice/CommentCommentNotice/CommentNewReplyNotice.tsx +++ b/src/components/Notice/CommentCommentNotice/CommentNewReplyNotice.tsx @@ -28,10 +28,6 @@ const CommentNewReplyNotice = ({ notice }: { notice: NoticeType }) => { notice.reply?.node.__typename === 'Article' ? notice.reply.node : null const replyCommentCircle = notice.reply?.node.__typename === 'Circle' ? notice.reply.node : null - const replyCommentCircleDiscussion = - notice.reply?.type === 'circleDiscussion' ? notice.reply.type : null - const replyCommentCircleBroadcast = - notice.reply?.type === 'circleBroadcast' ? notice.reply.type : null return (
@@ -71,25 +67,20 @@ const CommentNewReplyNotice = ({ notice }: { notice: NoticeType }) => { )} {replyCommentCircle && ( <> - + - {replyCommentCircleDiscussion && ( - - )} - {replyCommentCircleBroadcast && ( - - )} + )} - {/* */} + /> {isMultiActors && (