Skip to content

Commit

Permalink
Merge pull request #1339 from Bynder/GC-3893-add-invite-pending-prope…
Browse files Browse the repository at this point in the history
…rty-to-mentioned-someone-event

GC-3893 Pass user ID back with comment form `onMention` function call
  • Loading branch information
lewishankinson committed Jan 18, 2024
2 parents 6fd34c2 + 31d9ed2 commit 9a0e48f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Comment/CommentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ function CommentForm({
>
<Mention
trigger="@"
onAdd={onMention}
onAdd={(id: number) => {
onMention(id);
}}
data={(search: any) => searchForUsers(search)}
appendSpaceOnAdd
markup="@[__display__]"
Expand Down

0 comments on commit 9a0e48f

Please sign in to comment.