aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-05-27 15:06:14 -0400
committerBrian Kim <brian@tagg.id>2021-05-27 15:06:14 -0400
commit013dfb29a603fcd51105e0fa28e8b6adc0f49b86 (patch)
tree297ceaa65006f77f81c9e377b0ecf4458ffb58a5 /src
parentb355c8702ac6271891986db12645ac5524fbdfd4 (diff)
Bug fix duplicate variables
Diffstat (limited to 'src')
-rw-r--r--src/components/moments/MomentPostContent.tsx4
1 files changed, 2 insertions, 2 deletions
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>>(