diff --git a/public/img/download/logo_android.png b/public/img/download/logo_android.png
deleted file mode 100644
index a6256c0..0000000
Binary files a/public/img/download/logo_android.png and /dev/null differ
diff --git a/public/img/download/logo_apple.png b/public/img/download/logo_apple.png
deleted file mode 100644
index 9f9d1ca..0000000
Binary files a/public/img/download/logo_apple.png and /dev/null differ
diff --git a/public/img/icon/like-active.svg b/public/img/icon/thumb-active.svg
similarity index 100%
rename from public/img/icon/like-active.svg
rename to public/img/icon/thumb-active.svg
diff --git a/public/img/icon/like.svg b/public/img/icon/thumb.svg
similarity index 100%
rename from public/img/icon/like.svg
rename to public/img/icon/thumb.svg
diff --git a/src/components/Comment/ButtonBar.tsx b/src/components/Comment/ButtonBar.tsx
index 8e3cc28..7091a95 100644
--- a/src/components/Comment/ButtonBar.tsx
+++ b/src/components/Comment/ButtonBar.tsx
@@ -27,6 +27,7 @@ export default function ButtonBar({
};
const handleThumbup = async () => {
+ setThumbup(!thumbup);
const res = await onThumbup();
if (res) setThumbup(!thumbup);
};
@@ -51,14 +52,16 @@ export default function ButtonBar({
)}
{/* 点赞 */}
-
+
diff --git a/src/components/Comment/Comment.tsx b/src/components/Comment/Comment.tsx
index 65d0f78..2743b83 100644
--- a/src/components/Comment/Comment.tsx
+++ b/src/components/Comment/Comment.tsx
@@ -39,7 +39,6 @@ export default function Comment({ journalId, className, totalCommentReply, total
// 加载评论
const handleLoadMore = useCallback(async () => {
- console.log(commentList.length, totalCommentReplyInt);
if (commentList.length >= totalCommentReplyInt) return;
if (loading) return;
setLoading(true);
diff --git a/src/components/Comment/CommentForm.tsx b/src/components/Comment/CommentForm.tsx
index e915333..498d81a 100644
--- a/src/components/Comment/CommentForm.tsx
+++ b/src/components/Comment/CommentForm.tsx
@@ -31,7 +31,7 @@ export default function CommentItem({ onSubmit }: Props) {
/>