From 72ff2d200ce46d3866d5dc523f87e38ff18cc59a Mon Sep 17 00:00:00 2001 From: devbini Date: Fri, 25 Jul 2025 01:39:22 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A4=91=EB=B3=B5=20View=20=ED=98=B8?= =?UTF-8?q?=EC=B6=9C=20=EA=B8=B0=EB=8A=A5=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getNorificationUrls 내 View 호출 API 삭제 --- src/components/notification/CardContent.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/notification/CardContent.tsx b/src/components/notification/CardContent.tsx index b38d3b3..744ac31 100644 --- a/src/components/notification/CardContent.tsx +++ b/src/components/notification/CardContent.tsx @@ -2,8 +2,6 @@ import { MouseEvent } from 'react'; import { Link } from 'react-router-dom'; -import { axiosInstance } from '@/services/axiosInstance'; - import { NOTIFICATION_ROUTE, NOTIFICATION_TYPE } from '@/constants'; import { useNotification } from '@/hooks'; import { Notification } from '@/types'; @@ -31,7 +29,6 @@ export default function CardContent({ notification }: CardContentProps) { const urls = urlId.split(','); if (urls.length === 1) { - axiosInstance.post(`/posts/${urlId}/view`); return routeUrl?.replace('{id}', urlId); } return routeUrl?.replace('{id}', urls[0]).replace('{session}', urls[1]);