'use client'; import type { PlazaComment } from '@/types/plaza'; import { CommentThread } from '@/components/comment/CommentThread'; type CommentListProps = { postId: string; comments: PlazaComment[]; onReply: (comment: PlazaComment) => void; onToggleLike: (comment: PlazaComment) => void; }; export function CommentList({ postId, comments, onReply, onToggleLike }: CommentListProps) { if (comments.length === 0) { return
暂无评论,来抢沙发吧
; } return (