diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:24:44 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:24:44 -0400 |
commit | a413ca2a7ad004dcfd079b992810e1e63d46660d (patch) | |
tree | eb073dcbe6ff7a5a55839150784480774a803968 /src/components/comments | |
parent | 002015e9943ab34d7690babf0fdd24e16b62cf17 (diff) | |
parent | 53f624423fa8f758da5542e62704b59fa53316ea (diff) |
Merge branch 'master' into tma889-touchable-triangle
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); |