From 6778af3bf704eb656b4247e5e8bae60e2ffa7293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=9A=A9=EB=AF=BC?= Date: Sun, 18 Feb 2024 19:16:48 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Signature=20Comment=20=EB=A1=9C=EC=A7=81?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comment/signature/commentView/SignatureComment.jsx | 2 -- src/pages/notification/Notification.jsx | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/comment/signature/commentView/SignatureComment.jsx b/src/components/comment/signature/commentView/SignatureComment.jsx index ab80fade..c191eeba 100644 --- a/src/components/comment/signature/commentView/SignatureComment.jsx +++ b/src/components/comment/signature/commentView/SignatureComment.jsx @@ -139,10 +139,8 @@ const SignatureComment = ({ data }) => { )} )} - {/* 모두 삭제하는 권한이 있는 경우. */} {can_delete && - !writer?.is_writer && !editMode && ( // writer가 아니고, can_delete가 true일 때만 쓰레기통 아이콘 표시 { const { data, isPending, isError } = useGetNotification(); const notification = data?.data?.data; + console.log(notification); return ( {isPending ? (