From 51e36759249413a2acd52e1fecf4661f5253cb89 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Fri, 5 Mar 2021 22:07:54 -0800 Subject: navigating to discover on click on search res --- src/components/search/SearchResultCell.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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 = ({ const categoryCell = () => { return ( - + + navigation.navigate('DiscoverUsers', { + searchCategory: {id, name}, + }) + }>