diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-10 16:28:37 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-10 16:50:42 -0400 |
commit | 0b338e0c243c63fc836c7a9829ef3787045bc034 (patch) | |
tree | 01ad1c2298c9e0ba2e21021661389f76163e9cc7 /src/components/comments/CommentTile.tsx | |
parent | 3dd918e6a981645cd7bed7d32425ac64cb9af601 (diff) |
added navigation to "Likes" screen
Diffstat (limited to 'src/components/comments/CommentTile.tsx')
-rw-r--r-- | src/components/comments/CommentTile.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/comments/CommentTile.tsx b/src/components/comments/CommentTile.tsx index 8074a015..688a16e6 100644 --- a/src/components/comments/CommentTile.tsx +++ b/src/components/comments/CommentTile.tsx @@ -169,7 +169,14 @@ const CommentTile: React.FC<CommentTileProps> = ({ <Text style={styles.date_time}>{' ' + timePosted}</Text> </View> <View style={styles.row}> - <TouchableOpacity style={styles.row} onPress={() => {}}> + <TouchableOpacity + style={styles.row} + onPress={() => { + navigation.navigate('CommentReactionScreen', { + comment: commentObject, + screenType: screenType, + }); + }}> <Text style={[styles.date_time, styles.likeCount]}> {commentObject.reaction_count} </Text> |