From bf2cf14f47381fcf699e26edf6acf47ed91e462c Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 27 May 2021 14:38:54 -0400 Subject: Fix build issues --- src/components/moments/MomentPostContent.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx index f485396f..4a1f3894 100644 --- a/src/components/moments/MomentPostContent.tsx +++ b/src/components/moments/MomentPostContent.tsx @@ -35,15 +35,13 @@ const MomentPostContent: React.FC = ({ style, momentTags, }) => { - const [elapsedTime, setElapsedTime] = useState(''); - const [comments_count, setCommentsCount] = useState(''); - const [tags, setTags] = useState(momentTags); - const [visible, setVisible] = useState(false); const state: RootState = useStore().getState(); const navigation = useNavigation(); const dispatch = useDispatch(); + const [elapsedTime, setElapsedTime] = useState(''); + const [comments_count, setCommentsCount] = useState(''); + const [tags, setTags] = useState(momentTags); const imageRef = useRef(null); - const [fadeValue, setFadeValue] = useState(new Animated.Value(0)); const [visible, setVisible] = useState(false); const [fadeValue, setFadeValue] = useState>( -- cgit v1.2.3-70-g09d2