From ac4318fa0e1556f60bf41b8afdbad69477c764a1 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Thu, 8 Jul 2021 11:10:54 -0400 Subject: Fix linting --- src/screens/moments/TagFriendsScreen.tsx | 2 -- src/screens/profile/MomentCommentsScreen.tsx | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/screens/moments/TagFriendsScreen.tsx b/src/screens/moments/TagFriendsScreen.tsx index 6a96a094..1852e6a6 100644 --- a/src/screens/moments/TagFriendsScreen.tsx +++ b/src/screens/moments/TagFriendsScreen.tsx @@ -10,13 +10,11 @@ import { View, } from 'react-native'; import {useFocusEffect} from '@react-navigation/native'; -import {Button} from 'react-native-elements'; import Video from 'react-native-video'; import {MainStackParams} from 'src/routes'; import BackArrow from '../../assets/icons/back-arrow.svg'; import {MomentTags} from '../../components'; import {TagFriendsFooter} from '../../components/moments'; -import {TAGG_LIGHT_BLUE_2} from '../../constants'; import {MomentTagType} from '../../types'; import { SCREEN_WIDTH, diff --git a/src/screens/profile/MomentCommentsScreen.tsx b/src/screens/profile/MomentCommentsScreen.tsx index 402e5f44..7dfe8ae9 100644 --- a/src/screens/profile/MomentCommentsScreen.tsx +++ b/src/screens/profile/MomentCommentsScreen.tsx @@ -48,8 +48,9 @@ const MomentCommentsScreen: React.FC = ({route}) => { 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(); + const [commentTapped, setCommentTapped] = useState< + CommentType | CommentThreadType | undefined + >(); useEffect(() => { navigation.setOptions({ -- cgit v1.2.3-70-g09d2