aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"