diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:23:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 17:23:04 -0400 |
commit | 53f624423fa8f758da5542e62704b59fa53316ea (patch) | |
tree | 9e3422d22e4ccbd71e0dfa4f608e155d57d28092 /src/components/comments/AddComment.tsx | |
parent | 5afdf9208fd3d7498a2595797e6c9fb5f567fc61 (diff) | |
parent | b8958cda3485af46181e8a6091f12718acfb621c (diff) |
Merge pull request #444 from shravyaramesh/tma853-lint-errors
[TMA-853/851] Lint errors
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); |