aboutsummaryrefslogtreecommitdiff
path: root/src/components/search/SearchResultCell.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-03-06 01:13:43 -0500
committerGitHub <noreply@github.com>2021-03-06 01:13:43 -0500
commit3c38b38e0d3b2946a84c3d3bfd32cd223095e63d (patch)
tree0f7986f41f2b9d793779e479d33d877ce0f0f3c1 /src/components/search/SearchResultCell.tsx
parentcae6a7f3b8cc35c60f99e503d328c134959e13ec (diff)
parent51e36759249413a2acd52e1fecf4661f5253cb89 (diff)
Merge pull request #283 from shravyaramesh/search-revamp-2
[TMA 661/662] Created new search screen
Diffstat (limited to 'src/components/search/SearchResultCell.tsx')
-rw-r--r--src/components/search/SearchResultCell.tsx8
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"