mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
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