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 1/2] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=EC=97=90?= =?UTF-8?q?=EB=9F=AC=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 (
  • - +
    Date: Wed, 9 Oct 2024 02:15:06 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20next/image=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/on-boarding/components/molecules/steps.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/on-boarding/components/molecules/steps.tsx b/features/on-boarding/components/molecules/steps.tsx index 9d482cc7..c37b33f6 100644 --- a/features/on-boarding/components/molecules/steps.tsx +++ b/features/on-boarding/components/molecules/steps.tsx @@ -1,6 +1,6 @@ +import Image from 'next/image'; import { Fragment } from 'react'; -import { Image } from '@/components/atoms'; import { css } from '@/styled-system/css'; import { flex } from '@/styled-system/patterns';