We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fad1f1c commit d5aafe0Copy full SHA for d5aafe0
src/components/Post/Actions/Like.tsx
@@ -83,6 +83,7 @@ const Like = ({ post, showCount }: LikeProps) => {
83
84
if (hasReacted) {
85
decrement();
86
+ umami.track("unlike_post");
87
return await undoReaction({
88
variables: {
89
request: { post: post.id, reaction: PostReactionType.Upvote }
src/components/Post/Actions/Menu/Bookmark.tsx
@@ -78,6 +78,7 @@ const Bookmark = ({ post }: BookmarkProps) => {
78
79
const handleToggleBookmark = async () => {
80
if (hasBookmarked) {
81
+ umami.track("unbookmark_post");
82
return await undoBookmarkPost();
}
0 commit comments