diff options
author | George Rusu <george@tagg.id> | 2021-05-25 13:35:05 -0700 |
---|---|---|
committer | George Rusu <george@tagg.id> | 2021-05-25 13:35:05 -0700 |
commit | 4089ccdc05ffa5e02c6e0be717626cbdc631b8f2 (patch) | |
tree | e279bfe3b33da17f85fc3ca83cbb1f338e05e4b3 /src/components/comments/AddComment.tsx | |
parent | a5ef509d2a1f79d85c76ee766dabe96acac2a989 (diff) | |
parent | 7f991eef32475165f819dc8b666c5763f0021696 (diff) |
Merge
Diffstat (limited to 'src/components/comments/AddComment.tsx')
-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); |