Skip to content

Commit

Permalink
restore toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 committed Aug 18, 2024
1 parent 39b3ccb commit a526316
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/notice/notice.card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ const NoticeCard: React.FC<NoticeCardProps> = ({ notice, user }) => {
console.log(err);
});
}
// toggle my like status
setIsLike(!isLike);
};

return (
Expand Down

0 comments on commit a526316

Please sign in to comment.