From f1a0adafa0bbff400081349b17f95d0625778319 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Wed, 28 Jul 2021 10:47:28 -0700 Subject: Resolve lint errors --- src/components/moments/MomentPost.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index 62758865..aa5a710c 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -30,14 +30,12 @@ import {RootState} from '../../store/rootReducer'; import {MomentPostType, MomentTagType, ScreenType, UserType} from '../../types'; import { getTimePosted, - isIPhoneX, navigateToProfile, normalize, SCREEN_HEIGHT, SCREEN_WIDTH, } from '../../utils'; import {mentionPartTypes, renderTextWithMentions} from '../../utils/comments'; -import {AddComment} from '../comments'; import CommentsCount from '../comments/CommentsCount'; import {MomentTags} from '../common'; import {MomentMoreInfoDrawer, TaggAvatar} from '../profile'; @@ -75,7 +73,7 @@ const MomentPost: React.FC = ({ const [fadeValue, setFadeValue] = useState>( new Animated.Value(0), ); - const [commentCount, setCommentCount] = useState( + const [commentCount, _setCommentCount] = useState( moment.comments_count, ); const [aspectRatio, setAspectRatio] = useState(1); -- cgit v1.2.3-70-g09d2