diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 22:07:54 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 22:07:54 -0800 |
commit | 51e36759249413a2acd52e1fecf4661f5253cb89 (patch) | |
tree | 0f7986f41f2b9d793779e479d33d877ce0f0f3c1 /src | |
parent | a64d8e1df2d87dc8472f8af6f205419012454d79 (diff) |
navigating to discover on click on search res
Diffstat (limited to 'src')
-rw-r--r-- | src/components/search/SearchResultCell.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/search/SearchResultCell.tsx b/src/components/search/SearchResultCell.tsx index 705fb5c9..0f6f5b7d 100644 --- a/src/components/search/SearchResultCell.tsx +++ b/src/components/search/SearchResultCell.tsx @@ -129,7 +129,13 @@ const SearchResultsCell: React.FC<SearchResults> = ({ const categoryCell = () => { return ( - <TouchableOpacity style={styles.cellContainer}> + <TouchableOpacity + style={styles.cellContainer} + onPress={() => + navigation.navigate('DiscoverUsers', { + searchCategory: {id, name}, + }) + }> <View style={[styles.imageContainer, styles.categoryBackground]}> <Image resizeMode="contain" |