forked from github/plane
fix: comment reaction mutation (#1768)
This commit is contained in:
parent
584192faba
commit
87a920174e
@ -70,7 +70,8 @@ const useCommentReaction = (
|
||||
|
||||
mutateCommentReactions(
|
||||
(prevData) =>
|
||||
prevData?.filter((r) => r.actor !== user?.user?.id || r.reaction !== reaction) || []
|
||||
prevData?.filter((r) => r.actor !== user?.user?.id || r.reaction !== reaction) || [],
|
||||
false
|
||||
);
|
||||
|
||||
await reactionService.deleteIssueCommentReaction(
|
||||
|
Loading…
Reference in New Issue
Block a user