aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-24 17:24:44 -0400
committerIvan Chen <ivan@tagg.id>2021-05-24 17:24:44 -0400
commita413ca2a7ad004dcfd079b992810e1e63d46660d (patch)
treeeb073dcbe6ff7a5a55839150784480774a803968 /src/components/comments
parent002015e9943ab34d7690babf0fdd24e16b62cf17 (diff)
parent53f624423fa8f758da5542e62704b59fa53316ea (diff)
Merge branch 'master' into tma889-touchable-triangle
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);