From a5263166f08ab3ea8112a7f67a8d677822500ebc Mon Sep 17 00:00:00 2001 From: bluehorn07 Date: Sun, 18 Aug 2024 21:31:15 +0900 Subject: [PATCH] restore toggle --- components/notice/notice.card.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/notice/notice.card.tsx b/components/notice/notice.card.tsx index f4e42ed..658eb59 100644 --- a/components/notice/notice.card.tsx +++ b/components/notice/notice.card.tsx @@ -70,6 +70,8 @@ const NoticeCard: React.FC = ({ notice, user }) => { console.log(err); }); } + // toggle my like status + setIsLike(!isLike); }; return (