diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-07-28 10:47:28 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-07-28 10:47:28 -0700 |
commit | f1a0adafa0bbff400081349b17f95d0625778319 (patch) | |
tree | 26af2575f85240adfb8017ef7576ad90c028cd23 | |
parent | 330aebbfa0aba3bd4cc3e0b6a4714ba2f0bb7c98 (diff) |
Resolve lint errors
-rw-r--r-- | src/components/moments/MomentPost.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
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<MomentPostProps> = ({ const [fadeValue, setFadeValue] = useState<Animated.Value<number>>( new Animated.Value(0), ); - const [commentCount, setCommentCount] = useState<number>( + const [commentCount, _setCommentCount] = useState<number>( moment.comments_count, ); const [aspectRatio, setAspectRatio] = useState<number>(1); |