diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:23:58 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:23:58 -0400 |
commit | 0eb78b5c2d0731f0110cb7286786440ed19c4861 (patch) | |
tree | 76cd55c91f701e1fca16d3fe68d4706b5604ff84 /src/components/comments | |
parent | c634270d5466bf24741f1f4423696af373f88c03 (diff) | |
parent | 53f624423fa8f758da5542e62704b59fa53316ea (diff) |
Merge branch 'master' into tma891-tag-with-photo-tap
Diffstat (limited to 'src/components/comments')
-rw-r--r-- | src/components/comments/AddComment.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/comments/AddComment.tsx b/src/components/comments/AddComment.tsx index befaa8fe..b229d010 100644 --- a/src/components/comments/AddComment.tsx +++ b/src/components/comments/AddComment.tsx @@ -27,9 +27,8 @@ export interface AddCommentProps { } const AddComment: React.FC<AddCommentProps> = ({momentId, placeholderText}) => { - const {setShouldUpdateAllComments, commentTapped} = useContext( - CommentContext, - ); + const {setShouldUpdateAllComments, commentTapped} = + useContext(CommentContext); const [inReplyToMention, setInReplyToMention] = useState(''); const [comment, setComment] = useState(''); const [keyboardVisible, setKeyboardVisible] = useState(false); |