From 69c07634befdad4be416df843ecb803e760c5883 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 11 May 2021 15:10:02 -0400 Subject: cleaned up dead code --- src/components/comments/CommentTile.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/components/comments') diff --git a/src/components/comments/CommentTile.tsx b/src/components/comments/CommentTile.tsx index d028ceea..e38946af 100644 --- a/src/components/comments/CommentTile.tsx +++ b/src/components/comments/CommentTile.tsx @@ -1,4 +1,4 @@ -import {CommonActions, useNavigation} from '@react-navigation/native'; +import {useNavigation} from '@react-navigation/native'; import React, {Fragment, useContext, useEffect, useRef, useState} from 'react'; import {Alert, Animated, StyleSheet} from 'react-native'; import {Text, View} from 'react-native-animatable'; @@ -55,7 +55,6 @@ const CommentTile: React.FC = ({ const [showReplies, setShowReplies] = useState(false); const [showKeyboard, setShowKeyboard] = useState(false); const [shouldUpdateChild, setShouldUpdateChild] = useState(true); - const [forceRerender, setForceRerender] = useState(0); const swipeRef = useRef(null); const {replyPosted} = useSelector((state: RootState) => state.user); const state: RootState = useStore().getState(); -- cgit v1.2.3-70-g09d2