aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments/AddComment.tsx
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-05-10 15:10:31 -0700
committerBrian Kim <brian@tagg.id>2021-05-10 15:10:31 -0700
commit4bc27c266710fbab8c028c6fdbaf4fd158b3dcc2 (patch)
tree2e1b9409978cf7d321119d398fd0bb468327aa7f /src/components/comments/AddComment.tsx
parent49136f4056cb40f43d282d534aacf27076f47d8b (diff)
Fixed up keyboard mentions
Diffstat (limited to 'src/components/comments/AddComment.tsx')
-rw-r--r--src/components/comments/AddComment.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/comments/AddComment.tsx b/src/components/comments/AddComment.tsx
index 9cf10b5e..7e440daf 100644
--- a/src/components/comments/AddComment.tsx
+++ b/src/components/comments/AddComment.tsx
@@ -123,7 +123,7 @@ const AddComment: React.FC<AddCommentProps> = ({momentId, placeholderText}) => {
);
}}
inputRef={ref}
- partTypes={mentionPartTypes('blue')}
+ partTypes={mentionPartTypes('blue', ref)}
/>
<View style={styles.submitButton}>
<TouchableOpacity style={styles.submitButton} onPress={addComment}>