diff --git a/lang/default.json b/lang/default.json
index f6246138b9..8b24dfc52c 100644
--- a/lang/default.json
+++ b/lang/default.json
@@ -121,10 +121,6 @@
"/usqHn": {
"defaultMessage": "{displayName}'s creative space"
},
- "/vyhs5": {
- "defaultMessage": "Comment deleted",
- "description": "src/components/Notice/NoticeComment.tsx"
- },
"/wKyxw": {
"defaultMessage": "Failed to republish"
},
@@ -618,6 +614,10 @@
"defaultMessage": "Still quiet here. {br}Be the first one to say hello!",
"description": "src/components/Empty/EmptyComment.tsx"
},
+ "7zn5ig": {
+ "defaultMessage": "Comment deleted",
+ "description": "src/components/Notice/NoticeComment.tsx/article"
+ },
"8+Z5E9": {
"defaultMessage": "The badge signifies your participation and completion in the \"Free Write in 7 days\"."
},
@@ -889,6 +889,10 @@
"defaultMessage": "Copy comment",
"description": "src/components/Comment/DropdownActions/index.tsx"
},
+ "Ci7dxf": {
+ "defaultMessage": "Comment deleted",
+ "description": "src/components/Notice/NoticeComment.tsx/moment"
+ },
"CjKqYk": {
"defaultMessage": "Share a story from your life"
},
@@ -1486,9 +1490,6 @@
"N6PWfU": {
"defaultMessage": "Forget Password"
},
- "N8ISx8": {
- "defaultMessage": "Oops! This comment has been deleted by author"
- },
"NACY16": {
"defaultMessage": "Why need to set up a wallet?",
"description": "src/components/Forms/PaymentForm/BindWallet/index.tsx"
diff --git a/lang/en.json b/lang/en.json
index 6958c1ba9e..82f5192358 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -121,10 +121,6 @@
"/usqHn": {
"defaultMessage": "{displayName}'s creative space"
},
- "/vyhs5": {
- "defaultMessage": "Comment deleted",
- "description": "src/components/Notice/NoticeComment.tsx"
- },
"/wKyxw": {
"defaultMessage": "Failed to republish"
},
@@ -618,6 +614,10 @@
"defaultMessage": "Still quiet here. {br}Be the first one to say hello!",
"description": "src/components/Empty/EmptyComment.tsx"
},
+ "7zn5ig": {
+ "defaultMessage": "Comment deleted",
+ "description": "src/components/Notice/NoticeComment.tsx/article"
+ },
"8+Z5E9": {
"defaultMessage": "The badge signifies your participation and completion in the \"Free Write in 7 days\"."
},
@@ -889,6 +889,10 @@
"defaultMessage": "Copy comment",
"description": "src/components/Comment/DropdownActions/index.tsx"
},
+ "Ci7dxf": {
+ "defaultMessage": "Comment deleted",
+ "description": "src/components/Notice/NoticeComment.tsx/moment"
+ },
"CjKqYk": {
"defaultMessage": "Share a story from your life"
},
@@ -1486,9 +1490,6 @@
"N6PWfU": {
"defaultMessage": "Forget Password"
},
- "N8ISx8": {
- "defaultMessage": "Oops! This comment has been deleted by author"
- },
"NACY16": {
"defaultMessage": "Why need to set up a wallet?",
"description": "src/components/Forms/PaymentForm/BindWallet/index.tsx"
diff --git a/lang/zh-Hans.json b/lang/zh-Hans.json
index 9987fe61cc..66f536ad7d 100644
--- a/lang/zh-Hans.json
+++ b/lang/zh-Hans.json
@@ -121,10 +121,6 @@
"/usqHn": {
"defaultMessage": "{displayName} 的创作空间站"
},
- "/vyhs5": {
- "defaultMessage": "留言已删除",
- "description": "src/components/Notice/NoticeComment.tsx"
- },
"/wKyxw": {
"defaultMessage": "发布失败"
},
@@ -618,6 +614,10 @@
"defaultMessage": "暂无评论",
"description": "src/components/Empty/EmptyComment.tsx"
},
+ "7zn5ig": {
+ "defaultMessage": "评论已删除",
+ "description": "src/components/Notice/NoticeComment.tsx/article"
+ },
"8+Z5E9": {
"defaultMessage": "纪念你参与「七日书」并完成七天书写"
},
@@ -889,6 +889,10 @@
"defaultMessage": "复制留言",
"description": "src/components/Comment/DropdownActions/index.tsx"
},
+ "Ci7dxf": {
+ "defaultMessage": "留言已删除",
+ "description": "src/components/Notice/NoticeComment.tsx/moment"
+ },
"CjKqYk": {
"defaultMessage": "分享今天开心或难过的小故事吧"
},
@@ -1486,9 +1490,6 @@
"N6PWfU": {
"defaultMessage": "忘记密码"
},
- "N8ISx8": {
- "defaultMessage": "Oops!该评论已被原作者删除"
- },
"NACY16": {
"defaultMessage": "为什么需要设定钱包 ?",
"description": "src/components/Forms/PaymentForm/BindWallet/index.tsx"
diff --git a/lang/zh-Hant.json b/lang/zh-Hant.json
index b50d7d0e83..2ccfd46a52 100644
--- a/lang/zh-Hant.json
+++ b/lang/zh-Hant.json
@@ -121,10 +121,6 @@
"/usqHn": {
"defaultMessage": "{displayName} 的創作空間站"
},
- "/vyhs5": {
- "defaultMessage": "留言已刪除",
- "description": "src/components/Notice/NoticeComment.tsx"
- },
"/wKyxw": {
"defaultMessage": "發布失敗"
},
@@ -618,6 +614,10 @@
"defaultMessage": "暫無評論",
"description": "src/components/Empty/EmptyComment.tsx"
},
+ "7zn5ig": {
+ "defaultMessage": "評論已刪除",
+ "description": "src/components/Notice/NoticeComment.tsx/article"
+ },
"8+Z5E9": {
"defaultMessage": "紀念你參與「七日書」並完成七天書寫"
},
@@ -889,6 +889,10 @@
"defaultMessage": "複製留言",
"description": "src/components/Comment/DropdownActions/index.tsx"
},
+ "Ci7dxf": {
+ "defaultMessage": "留言已刪除",
+ "description": "src/components/Notice/NoticeComment.tsx/moment"
+ },
"CjKqYk": {
"defaultMessage": "分享今天開心或難過的小故事吧"
},
@@ -1486,9 +1490,6 @@
"N6PWfU": {
"defaultMessage": "忘記密碼"
},
- "N8ISx8": {
- "defaultMessage": "Oops!該評論已被原作者刪除"
- },
"NACY16": {
"defaultMessage": "為什麼需要設定錢包 ?",
"description": "src/components/Forms/PaymentForm/BindWallet/index.tsx"
diff --git a/src/components/Notice/NoticeComment.tsx b/src/components/Notice/NoticeComment.tsx
index 43674952af..119eca7092 100644
--- a/src/components/Notice/NoticeComment.tsx
+++ b/src/components/Notice/NoticeComment.tsx
@@ -67,6 +67,8 @@ const NoticeComment = ({
return null
}
+ console.log({ comment })
+
if (
comment.state === 'banned' &&
((comment.parentComment === null && comment.comments?.totalCount === 0) ||
@@ -98,8 +100,8 @@ const NoticeComment = ({
@@ -107,24 +109,18 @@ const NoticeComment = ({
)
}
- if (comment.state === 'archived') {
+ if (comment.state === 'archived' && article) {
return (
-
+
)
}