aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-24 17:23:58 -0400
committerIvan Chen <ivan@tagg.id>2021-05-24 17:23:58 -0400
commit0eb78b5c2d0731f0110cb7286786440ed19c4861 (patch)
tree76cd55c91f701e1fca16d3fe68d4706b5604ff84 /src/components/comments
parentc634270d5466bf24741f1f4423696af373f88c03 (diff)
parent53f624423fa8f758da5542e62704b59fa53316ea (diff)
Merge branch 'master' into tma891-tag-with-photo-tap
Diffstat (limited to 'src/components/comments')
-rw-r--r--src/components/comments/AddComment.tsx5
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);