fix: comment reaction mutation (#1768)
This commit is contained in:
parent
584192faba
commit
87a920174e
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue