Skip to content

Commit

Permalink
fix: Signature Comment 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dydals3440 committed Feb 18, 2024
1 parent 54844b6 commit 6778af3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ const SignatureComment = ({ data }) => {
)}
</>
)}

{/* 모두 삭제하는 권한이 있는 경우. */}
{can_delete &&
!writer?.is_writer &&
!editMode && ( // writer가 아니고, can_delete가 true일 때만 쓰레기통 아이콘 표시
<S.Icon
src={Trash}
Expand Down
1 change: 1 addition & 0 deletions src/pages/notification/Notification.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { useGetNotification } from '@/hooks/notification/useGetNotification';
const Notification = () => {
const { data, isPending, isError } = useGetNotification();
const notification = data?.data?.data;
console.log(notification);
return (
<S.Container>
{isPending ? (
Expand Down

0 comments on commit 6778af3

Please sign in to comment.