Skip to content

Commit

Permalink
like button
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed Jun 13, 2024
1 parent 7b148a8 commit e6db451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/LikeButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const LikeButton = ({ post, user }) => {
setUserLikeObject(publishData.data.data);
setCreatingLike(false);
console.log("created");
refetchLikeCount();
refetchLikeCount(post,user);
}
}, 2000),
[getLikeCount]
Expand Down

0 comments on commit e6db451

Please sign in to comment.