diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-05-27 16:01:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-27 16:01:46 -0400 |
| commit | 2927c3123aba8fa63dae465ea8ce050aa32da1b8 (patch) | |
| tree | 5bd72927950ba93735775e86a2cf63fb0f6ab207 /src/components | |
| parent | b355c8702ac6271891986db12645ac5524fbdfd4 (diff) | |
| parent | a78d7000e47243d7927f772feb8f81260c495f86 (diff) | |
Merge pull request #453 from IvanIFChen/hotfix-tma250-tagging-fixes
[HOTFIX] [TMA-250] Moment Tagging Fixes
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/moments/MomentPostContent.tsx | 8 | ||||
| -rw-r--r-- | src/components/moments/TagFriendsFoooter.tsx | 2 |
2 files changed, 4 insertions, 6 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>>( diff --git a/src/components/moments/TagFriendsFoooter.tsx b/src/components/moments/TagFriendsFoooter.tsx index 365d709d..753b4486 100644 --- a/src/components/moments/TagFriendsFoooter.tsx +++ b/src/components/moments/TagFriendsFoooter.tsx @@ -38,7 +38,7 @@ const TagFriendsFooter: React.FC<TagFriendsFooterProps> = ({tags, setTags}) => { source={require('../../assets/icons/tagging/white-plus-icon.png')} style={styles.tagMoreIcon} /> - <Text style={styles.tagMoreLabel}>{'Tagg More'}</Text> + <Text style={styles.tagMoreLabel}>{'Tag More'}</Text> </TouchableOpacity> ), [tags], |
