aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-05-24 14:03:32 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-05-24 14:03:32 -0700
commite09f37e73b45a58c0a6ebf8ad8b5216c91713f26 (patch)
tree73fc1435227e418be15480ca9b12d865dcb0f8a2 /src/components/comments
parent5afdf9208fd3d7498a2595797e6c9fb5f567fc61 (diff)
Fix yarn lint issues
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);