diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/moments/MomentPostContent.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx index 4a1f3894..c00433e7 100644 --- a/src/components/moments/MomentPostContent.tsx +++ b/src/components/moments/MomentPostContent.tsx @@ -35,13 +35,15 @@ const MomentPostContent: React.FC<MomentPostContentProps> = ({ style, momentTags, }) => { - const state: RootState = useStore().getState(); - const navigation = useNavigation(); - const dispatch = useDispatch(); 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>>( |
