+
+
+ 댓글 {comments.length}개
+
+
+
+
+ {comments.map(({ id, content, createdAt, writerNickname }) => (
+
+ ))}
+
+
+
+
+ ));
+
const { comments } = useCommentsQuery(songId, partId);
if (!comments) {
@@ -29,7 +55,7 @@ const CommentList = ({ songId, partId }: CommentListProps) => {