From 013dfb29a603fcd51105e0fa28e8b6adc0f49b86 Mon Sep 17 00:00:00 2001
From: Brian Kim <brian@tagg.id>
Date: Thu, 27 May 2021 15:06:14 -0400
Subject: Bug fix duplicate variables

---
 src/components/moments/MomentPostContent.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/moments/MomentPostContent.tsx')

diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx
index f485396f..c00433e7 100644
--- a/src/components/moments/MomentPostContent.tsx
+++ b/src/components/moments/MomentPostContent.tsx
@@ -38,12 +38,12 @@ const MomentPostContent: React.FC<MomentPostContentProps> = ({
   const [elapsedTime, setElapsedTime] = useState('');
   const [comments_count, setCommentsCount] = useState('');
   const [tags, setTags] = useState<MomentTagType[]>(momentTags);
-  const [visible, setVisible] = useState(false);
+  // const [visible, setVisible] = useState(false);
   const state: RootState = useStore().getState();
   const navigation = useNavigation();
   const dispatch = useDispatch();
   const imageRef = useRef(null);
-  const [fadeValue, setFadeValue] = useState(new Animated.Value(0));
+  // const [fadeValue, setFadeValue] = useState(new Animated.Value(0));
   const [visible, setVisible] = useState(false);
 
   const [fadeValue, setFadeValue] = useState<Animated.Value<number>>(
-- 
cgit v1.2.3-70-g09d2


From 9d7e900a89f343f7752457956f8e1d205774b910 Mon Sep 17 00:00:00 2001
From: Brian Kim <brian@tagg.id>
Date: Wed, 9 Jun 2021 09:28:38 +0900
Subject: Clean up MomentPostContent

---
 src/components/moments/MomentPostContent.tsx | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src/components/moments/MomentPostContent.tsx')

diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx
index c00433e7..ecbfb3a2 100644
--- a/src/components/moments/MomentPostContent.tsx
+++ b/src/components/moments/MomentPostContent.tsx
@@ -38,12 +38,10 @@ const MomentPostContent: React.FC<MomentPostContentProps> = ({
   const [elapsedTime, setElapsedTime] = useState('');
   const [comments_count, setCommentsCount] = useState('');
   const [tags, setTags] = useState<MomentTagType[]>(momentTags);
-  // const [visible, setVisible] = useState(false);
   const state: RootState = useStore().getState();
   const navigation = useNavigation();
   const dispatch = useDispatch();
   const imageRef = useRef(null);
-  // const [fadeValue, setFadeValue] = useState(new Animated.Value(0));
   const [visible, setVisible] = useState(false);
 
   const [fadeValue, setFadeValue] = useState<Animated.Value<number>>(
-- 
cgit v1.2.3-70-g09d2

