Skip to content

Commit

Permalink
Merge pull request #2732 from thematters/develop
Browse files Browse the repository at this point in the history
[hotfix - master] revert <CommentNewReplyNotice>
  • Loading branch information
robertu7 authored Aug 26, 2022
2 parents 1ae4612 + e97a027 commit 9fa8585
Showing 1 changed file with 8 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<section className="container">
Expand Down Expand Up @@ -71,25 +67,20 @@ const CommentNewReplyNotice = ({ notice }: { notice: NoticeType }) => {
)}
{replyCommentCircle && (
<>
<Translate zh_hant="在圍爐 " zh_hans="在围炉 " en="" />
<Translate
zh_hant="回覆了你在圍爐 "
zh_hans="回复了你在围炉 "
en=" replied to your response on "
/>
<NoticeCircleName circle={replyCommentCircle} />
{replyCommentCircleDiscussion && (
<Translate
zh_hant=" 回覆你的眾聊發言"
zh_hans=" 回复你的众聊发言"
en=""
/>
)}
{replyCommentCircleBroadcast && (
<Translate zh_hant=" 廣播中留言" zh_hans=" 广播中留言" en="" />
)}
<Translate zh_hant=" 中的發言" zh_hans=" 中的发言" en="" />
</>
)}
</NoticeHead>

{/* <NoticeComment
<NoticeComment
comment={isMultiActors ? notice.comment : notice.reply}
/> */}
/>

{isMultiActors && (
<section className="multi-actor-avatars">
Expand Down

0 comments on commit 9fa8585

Please sign in to comment.