diff options
| author | Shravya Ramesh <shravs1208@gmail.com> | 2021-05-24 14:03:32 -0700 |
|---|---|---|
| committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-05-24 14:03:32 -0700 |
| commit | e09f37e73b45a58c0a6ebf8ad8b5216c91713f26 (patch) | |
| tree | 73fc1435227e418be15480ca9b12d865dcb0f8a2 /src/screens/profile/MomentCommentsScreen.tsx | |
| parent | 5afdf9208fd3d7498a2595797e6c9fb5f567fc61 (diff) | |
Fix yarn lint issues
Diffstat (limited to 'src/screens/profile/MomentCommentsScreen.tsx')
| -rw-r--r-- | src/screens/profile/MomentCommentsScreen.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/screens/profile/MomentCommentsScreen.tsx b/src/screens/profile/MomentCommentsScreen.tsx index 4b332b56..402e5f44 100644 --- a/src/screens/profile/MomentCommentsScreen.tsx +++ b/src/screens/profile/MomentCommentsScreen.tsx @@ -44,14 +44,12 @@ const MomentCommentsScreen: React.FC<MomentCommentsScreenProps> = ({route}) => { //Receives comment length from child CommentsContainer const [commentsLength, setCommentsLength] = useState<number>(0); - const [shouldUpdateAllComments, setShouldUpdateAllComments] = React.useState( - true, - ); + const [shouldUpdateAllComments, setShouldUpdateAllComments] = + React.useState(true); //Keeps track of the current comments object in focus so that the application knows which comment to post a reply to - const [commentTapped, setCommentTapped] = useState< - CommentType | CommentThreadType | undefined - >(); + const [commentTapped, setCommentTapped] = + useState<CommentType | CommentThreadType | undefined>(); useEffect(() => { navigation.setOptions({ |
