From b8973d6222c495a87d10774df4abf683f0d57451 Mon Sep 17 00:00:00 2001 From: brian <90752841+wokbjso@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:01:02 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=EC=97=90=EB=9F=AC?= =?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 --- .../components/molecules/follow-notification.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/features/notification/components/molecules/follow-notification.tsx b/features/notification/components/molecules/follow-notification.tsx index 372880f2..a028b0a3 100644 --- a/features/notification/components/molecules/follow-notification.tsx +++ b/features/notification/components/molecules/follow-notification.tsx @@ -7,13 +7,11 @@ import { useMemberFollowingState } from '@/hooks'; import { css, cva } from '@/styled-system/css'; import { convertTimeToElapsedTime } from '@/utils'; -import { useReadNotification } from '../../apis/use-read-notification'; import { layoutStyles, textStyles } from '../../styles'; import { FollowNotificationProps } from '../../types'; export function FollowNotification({ memberId, - notificationId, type, hasRead, profileImageUrl, @@ -22,11 +20,6 @@ export function FollowNotification({ }: FollowNotificationProps) { const { useMemberIsFollowing, toggleFollow } = useMemberFollowingState(); const { isFollowing } = useMemberIsFollowing(memberId); - const { mutate: readNotification } = useReadNotification(); - - const handleListElementClick = () => { - readNotification({ notificationId, type }); - }; const handleFollowButtonClick = () => { void toggleFollow(memberId); @@ -34,11 +27,7 @@ export function FollowNotification({ return (
  • - +