feat(comments): migrate to backend API

This commit is contained in:
zetaloop
2026-03-01 22:40:29 +08:00
parent 505d9c0168
commit 236c1a24da
4 changed files with 169 additions and 69 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id:
initialLiked={post.liked}
initialLikeCount={post.likeCount}
/>
<PostCommentCount postId={post.id} />
<PostCommentCount count={post.commentCount} />
</div>
</CardContent>
</Card>