콘솔 삭제

This commit is contained in:
kimdaae328 2025-02-28 14:44:30 +09:00
parent 40584f0269
commit 8bc2152490

View File

@ -675,7 +675,7 @@ const deleteReplyComment = async (comment) => {
const targetComment = findCommentById(comment.commentId, comments.value); const targetComment = findCommentById(comment.commentId, comments.value);
console.log('잘되니?',comment) // console.log('?',comment)
try { try {
const response = await axios.delete(`board/comment/${comment.commentId}`, { const response = await axios.delete(`board/comment/${comment.commentId}`, {
@ -686,7 +686,7 @@ const deleteReplyComment = async (comment) => {
await fetchComments(); await fetchComments();
if (targetComment) { if (targetComment) {
console.log('타겟',targetComment) // console.log('',targetComment)
// " ." , // " ." ,
targetComment.content = "댓글이 삭제되었습니다."; targetComment.content = "댓글이 삭제되었습니다.";
targetComment.author = "알 수 없음"; // targetComment.author = "알 수 없음"; //