From 6a4514410b9042d5b168dbedbe788a44bfe6b3c9 Mon Sep 17 00:00:00 2001 From: seoAreum <1971236@hansung.ac.kr> Date: Mon, 22 Apr 2024 12:12:49 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20build=20error=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/History/components/MyLecueBook/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/History/components/MyLecueBook/index.tsx b/src/History/components/MyLecueBook/index.tsx index 2b4a64a2..7210fcf7 100644 --- a/src/History/components/MyLecueBook/index.tsx +++ b/src/History/components/MyLecueBook/index.tsx @@ -27,7 +27,7 @@ function MyLecueBook(props: LecueBookProps) { const deleteMutation = useDeleteMyBook(); const FavoritePostMutation = usePostFavorite(); - const FavoriteDeleteMutation = useDeleteFavorite(); + const FavoriteDeleteMutation = useDeleteFavorite('mypage'); const convertNoteCount = (noteNum: number) => { setNoteCount(noteNum.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')); From edb0e55bbe0516efa59f6b6129c0d3a07804b4bf Mon Sep 17 00:00:00 2001 From: seoAreum <1971236@hansung.ac.kr> Date: Mon, 22 Apr 2024 12:33:53 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=9D=BC=EC=9A=B0=ED=8C=85=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Home/components/NoBookmarkList/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Home/components/NoBookmarkList/index.tsx b/src/Home/components/NoBookmarkList/index.tsx index c2c43909..46150723 100644 --- a/src/Home/components/NoBookmarkList/index.tsx +++ b/src/Home/components/NoBookmarkList/index.tsx @@ -6,7 +6,7 @@ const NoBookmarkList = () => { const navigate = useNavigate(); const handleClickNavigateBtn = () => { - navigate('/mypage'); + navigate('/mypage/history', { state: 2 }); }; return (