diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-27 14:38:54 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-27 15:01:55 -0400 |
commit | bf2cf14f47381fcf699e26edf6acf47ed91e462c (patch) | |
tree | 9e638cb1cf20d2c935f513a3933ec0817230f0d0 /src | |
parent | b355c8702ac6271891986db12645ac5524fbdfd4 (diff) |
Fix build issues
Diffstat (limited to 'src')
-rw-r--r-- | src/components/moments/MomentPostContent.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
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<MomentPostContentProps> = ({ style, momentTags, }) => { - 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 [elapsedTime, setElapsedTime] = useState(''); + const [comments_count, setCommentsCount] = useState(''); + const [tags, setTags] = useState<MomentTagType[]>(momentTags); const imageRef = useRef(null); - const [fadeValue, setFadeValue] = useState(new Animated.Value(0)); const [visible, setVisible] = useState(false); const [fadeValue, setFadeValue] = useState<Animated.Value<number>>( |