style: text color & position (#1692)
* feat: developed reaction selector component * feat add reaction on issue & issue comment refactor: reaction selector component, made hooks to abstracted reaction logic & state by making custom hook * fix: emoji.helper.tsx function * refactor: reaction not working on inbox issue * fix: user not been passed to create/delete function * style: text position & color
This commit is contained in:
parent
bedc3ab5a1
commit
8930840a76
4 changed files with 26 additions and 6 deletions
|
|
@ -52,7 +52,8 @@ const useIssueReaction = (
|
|||
workspaceSlug.toString(),
|
||||
projectId.toString(),
|
||||
issueId.toString(),
|
||||
{ reaction }
|
||||
{ reaction },
|
||||
user.user
|
||||
);
|
||||
|
||||
mutateReaction((prev) => [...(prev || []), data]);
|
||||
|
|
@ -77,7 +78,8 @@ const useIssueReaction = (
|
|||
workspaceSlug.toString(),
|
||||
projectId.toString(),
|
||||
issueId.toString(),
|
||||
reaction
|
||||
reaction,
|
||||
user.user
|
||||
);
|
||||
|
||||
mutateReaction();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue